flutter-ics-homescreen: work around Rive plugin issue 03/30903/2
authorScott Murray <scott.murray@konsulko.com>
Fri, 7 Mar 2025 07:36:01 +0000 (02:36 -0500)
committerScott Murray <scott.murray@konsulko.com>
Fri, 28 Mar 2025 15:26:44 +0000 (15:26 +0000)
Add a LD_PRELOAD of the Rive plugin library since it currently
fails to auto-load.  This fixes the HVAC animation behavior.

Bug-AGL: SPEC-5348

Change-Id: I8f6172305f3d695d47209b2503a99f79047d2ea2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30903
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service

index be1acf5..bffcc43 100644 (file)
@@ -7,6 +7,8 @@ User=agl-driver
 EnvironmentFile=/etc/default/flutter
 EnvironmentFile=-/etc/default/flutter-ics-homescreen
 Environment=XDG_RUNTIME_DIR=/run/user/1001/
+# NOTE: Check if still required on flutter-auto upgrades post-3.27.1
+Environment=LD_PRELOAD=/usr/lib/librive_text.so
 ExecStart=/usr/bin/flutter-auto -b /usr/share/flutter/flutter_ics_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id homescreen
 Restart=on-failure