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/files/flutter-ics-homescreen.env | 1 + .../flutter-ics-homescreen/files/flutter-ics-homescreen.service | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.env (limited to 'recipes-demo/flutter-ics-homescreen/files') diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.env b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.env new file mode 100644 index 000000000..c85b7ed75 --- /dev/null +++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.env @@ -0,0 +1 @@ +SPDLOG_LEVEL=debug diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service index 421f87cda..be1acf52b 100644 --- a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service +++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service @@ -1,6 +1,6 @@ [Unit] -Requires=agl-compositor.service applaunchd.service -After=agl-compositor.service applaunchd.service +Requires=agl-compositor.service applaunchd.service agl-persistent-storage-api.service +After=agl-compositor.service applaunchd.service agl-persistent-storage-api.service [Service] User=agl-driver -- cgit 1.2.3-korg