From 8bce79135715d04cb966fefaf8123d0dcb7ad435 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 26 Sep 2024 13:13:42 -0400 Subject: Enable persistent storage API in Flutter IVI demo Changes: - Bump flutter-ics-homescreen SRCREV to pick up the storage API changes. - Add a dependency on agl-persistent-storage-api to the homescreen systemd unit to ensure it will be started beforehand. - Add an environment file to be pulled in by the homescreen systemd unit that sets SPDLOG_LEVEL to enable debug output with latest flutter-auto. This should help with debugging any future issues. - Add agl-persistent-storage-api to the base Flutter IVI image. This gets it into the final demo image, and keeps the base Flutter IVI image (agl-image-ivi-flutter) usable for potentially working on the homescreen with the workspace-automation tooling. Bug-AGL: SPEC-5250 Change-Id: Icd2958a259f8eada8db0bfb99b47ba7a64094fa5 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30318 Reviewed-by: Jan-Simon Moeller ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account --- recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb') diff --git a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb index 0fa9c250b..5d78336a5 100644 --- a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb +++ b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-ics-homescreen;protocol=https;branch=${AGL_BRANCH} \ file://ics-homescreen.toml \ file://flutter-ics-homescreen.service \ + file://flutter-ics-homescreen.env \ file://ics-homescreen.yaml \ file://ics-homescreen.yaml.gateway-demo \ file://ics-homescreen.yaml.kvm-demo \ @@ -17,7 +18,7 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-ics-homescreen;p file://radio-presets.yaml \ file://kvm.conf \ " -SRCREV = "d3ea8d7fa4518c258fca3c825ee895487fcaa8ec" +SRCREV = "bdc33c218e3e62e5a3121d3ab0de6e26ef7ad3eb" S = "${WORKDIR}/git" @@ -39,6 +40,8 @@ APP_AOT_EXTRA:append = " ${DISABLE_BG_ANIMATION}" do_install:append() { install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service + install -D -m 0644 ${WORKDIR}/${BPN}.env ${D}${sysconfdir}/default/${BPN} + install -D -m 0644 ${WORKDIR}/kvm.conf ${D}${systemd_system_unitdir}/${BPN}.service.d/kvm.conf # VIS authorization token file for KUKSA.val should ideally not @@ -56,7 +59,7 @@ do_install:append() { ALTERNATIVE_LINK_NAME[ics-homescreen.yaml] = "${sysconfdir}/xdg/AGL/ics-homescreen.yaml" -FILES:${PN} += "${datadir} ${sysconfdir}/xdg/AGL" +FILES:${PN} += "${datadir} ${sysconfdir}/xdg/AGL ${sysconfdir}/default" RDEPENDS:${PN} += " \ flutter-auto \ -- cgit 1.2.3-korg