summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2025-02-13 10:15:37 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2025-02-14 12:45:32 +0000
commit005d2b0a27ebdd21fb2aaa589c8672650474b055 (patch)
tree81c6526a8dd13274b0950e2dc188dfff9b1b39f6 /meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc
parentb37b52944c309c0f1a4e06d2b241ea5b85625c9f (diff)
meta-agl-flutter: fix sample app installationHEADmaster
Fix TOML configuration file installation in the recipe for the flutter-samples-material-3-demo sample app used in agl-image-flutter. Also tweak command-line in its systemd unit to match embedder expectations. Bug-AGL: SPEC-5362 Change-Id: I048b937bf5622504634f53c979b5442f3c325645 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30823 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
Diffstat (limited to 'meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc')
-rw-r--r--meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc b/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc
index 971756ad7..ebdf65d42 100644
--- a/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc
+++ b/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-samples-material-3-demo_aglflutter.inc
@@ -1,6 +1,8 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/flutter-samples-material-3-demo:"
-SRC_URI += "file://flutter-samples-material-3-demo.service"
+SRC_URI += "file://flutter-samples-material-3-demo.service \
+ file://flutter-samples-material-3-demo.toml \
+"
APP_CONFIG = "flutter-samples-material-3-demo.toml"
@@ -8,13 +10,6 @@ inherit systemd
do_install:append() {
install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
-
- # determine build type based on what flutter-engine installed.
- for runtime_mode in ${FLUTTER_RUNTIME_MODES}
- do
- install -D -m 0644 ${WORKDIR}/${APP_CONFIG} \
- ${D}${datadir}/flutter/${PUBSPEC_APPNAME}/${FLUTTER_SDK_VERSION}/${runtime_mode}/config.toml
- done
}
RDEPENDS:${PN} += "agl-flutter-env"