From: Scott Murray Date: Fri, 7 Mar 2025 07:36:01 +0000 (-0500) Subject: flutter-ics-homescreen: work around Rive plugin issue X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=9d278e1018da9a913496090e81fa37e785a44720;p=AGL%2Fmeta-agl-demo.git flutter-ics-homescreen: work around Rive plugin issue 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-5xxx Change-Id: I8f6172305f3d695d47209b2503a99f79047d2ea2 Signed-off-by: Scott Murray --- 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 be1acf52b..8bcff651c 100644 --- a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service +++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service @@ -7,6 +7,7 @@ User=agl-driver EnvironmentFile=/etc/default/flutter EnvironmentFile=-/etc/default/flutter-ics-homescreen Environment=XDG_RUNTIME_DIR=/run/user/1001/ +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