applaunchd: update Flutter app service template 60/30660/2
authorScott Murray <scott.murray@konsulko.com>
Fri, 20 Dec 2024 19:54:36 +0000 (14:54 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 2 Jan 2025 23:25:30 +0000 (23:25 +0000)
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
meta-app-framework/recipes-core/applaunchd/applaunchd/agl-app-flutter@.service

index a9a2527..b0018f7 100644 (file)
@@ -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