summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-12-20 14:54:36 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2025-01-02 23:25:30 +0000
commita881ac5c70f591117e861fb9f97e312476473026 (patch)
treec715cfb17872b5d73cc6f02c99fe3fca11c491da
parent993439c93ac10f799bbacf4dcf286b5ce7fd2bfa (diff)
applaunchd: update Flutter app service template
Update Flutter app template service unit for the new embedder command line option syntax. Also remove the now stale default Flutter version / runtime environment variable definitions, as we rely on the definitions from the agl-flutter-env package being present, anyways. Bug-AGL: SPEC-5326 Change-Id: Ia5352cb2c3ca0490d0e8a474957507c440785ec6 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30660 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
-rw-r--r--meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service b/meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service
index a9a2527e0..b0018f791 100644
--- a/meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service
+++ b/meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service
@@ -4,9 +4,7 @@ Description=%I
[Service]
Type=simple
User=agl-driver
-Environment=FLUTTER_VERSION=3.3.7
-Environment=FLUTTER_RUNTIME=release
EnvironmentFile=-/etc/default/flutter
EnvironmentFile=-/etc/default/%I
Environment=XDG_RUNTIME_DIR=/run/user/1001/
-ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/%I/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id=%I
+ExecStart=/usr/bin/flutter-auto -b /usr/share/flutter/%I/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id %I