diff options
author | Joel Winarske <joel.winarske@gmail.com> | 2024-09-06 08:02:09 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-09 15:28:46 +0000 |
commit | e744a9e1d2399a133171e45c5819bf6051989ad4 (patch) | |
tree | c3736cc4900c64ccdb83954ea05d32ef5cc2e2b8 /recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | |
parent | db5447e035014952483cde78ea580fafd5201896 (diff) |
flutter SDK 3.24.2
-update flutter-ics-homescreen and flutter-instrument-cluster
Change-Id: I2a12cf07f1c5ec8dc839b9f1b868b62069308be1
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
(Updated flutter-cluster-dashboard systemd unit file)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30257
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb')
-rw-r--r-- | recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | 13 |
1 files changed, 9 insertions, 4 deletions
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 ad789d90d..e6aee7741 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 = "4a6dd91a1e1c7821eae1668449885a8c04825071" +SRCREV = "15093ee4880d535c65faed929801c2d79d1a212c" 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 |