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
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