From 65e6910f05a65aff631187ff8576e471b5798bf1 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Fri, 6 Sep 2024 08:02:09 -0700 Subject: flutter SDK 3.24.2 -update flutter-ics-homescreen and flutter-instrument-cluster Change-Id: I28ceb1999f79c1b2889a9f2b9e900fe825b12d77 Signed-off-by: Joel Winarske (Updated flutter-cluster-dashboard systemd unit file) Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30267 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- .../flutter-cluster-dashboard_git.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb') diff --git a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb index 013f4f87c..b510a88bf 100644 --- a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb +++ b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0c52b0e4b5f0dbf57ea7d44bebb2e29d" SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-instrument-cluster;protocol=https;branch=${AGL_BRANCH} \ file://flutter-cluster-dashboard.service \ - file://flutter_cluster_dashboard_on_bg.json \ + file://flutter_cluster_dashboard_on_bg.toml \ file://cluster-dashboard.yaml \ file://cluster-dashboard.yaml.demo \ file://cluster-dashboard.yaml.gateway-demo \ @@ -21,7 +21,7 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-instrument-clust " PV = "1.0+git${SRCPV}" -SRCREV = "e39bf6a1e3657542a56f21b3afa6a65ea0a194e2" +SRCREV = "03dd111dd026cefaf5cfada39e3342d31b71848d" S = "${WORKDIR}/git" @@ -29,7 +29,7 @@ PUBSPEC_APPNAME = "flutter_cluster_dashboard" inherit flutter-app update-alternatives systemd -APP_CONFIG = "flutter_cluster_dashboard_on_bg.json" +APP_CONFIG = "flutter_cluster_dashboard_on_bg.toml" SYSTEMD_SERVICE:${PN} = "flutter-cluster-dashboard.service" @@ -40,7 +40,12 @@ do_install:append() { install -D -m 0644 ${WORKDIR}/kvm.conf ${D}${systemd_system_unitdir}/${BPN}.service.d/kvm.conf - install -D -m 0644 ${WORKDIR}/${APP_CONFIG} ${D}${datadir}/flutter/${BPN}.json + # 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 install -d ${D}${sysconfdir}/xdg/AGL/cluster-dashboard install -m 0644 ${WORKDIR}/cluster-dashboard.yaml ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.default -- cgit 1.2.3-korg