diff options
author | Joel Winarske <joel.winarske@gmail.com> | 2024-09-09 17:05:48 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-10 10:18:35 +0000 |
commit | 82c703554b58474c366108cced2d6bb2767d56cd (patch) | |
tree | 6c57c376d4be908bac360052c942698ed3ceee5f | |
parent | e744a9e1d2399a133171e45c5819bf6051989ad4 (diff) |
flutter app updates
-ignore pubspec.lock file
-disable network access for do_compile
-remove loop to install config.toml; now handled by meta-flutter
Change-Id: Icdfb240c330e98a90cf05ca4f0acfbcd935bf89a
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30270
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | 11 | ||||
-rw-r--r-- | recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb | 12 |
2 files changed, 4 insertions, 19 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 e6aee7741..15fce6b59 100644 --- a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb +++ b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb @@ -31,22 +31,15 @@ inherit flutter-app update-alternatives systemd APP_CONFIG = "flutter_cluster_dashboard_on_bg.toml" -SYSTEMD_SERVICE:${PN} = "flutter-cluster-dashboard.service" +PUBSPEC_IGNORE_LOCKFILE = "1" -do_compile[network] = "1" +SYSTEMD_SERVICE:${PN} = "flutter-cluster-dashboard.service" do_install:append() { install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service install -D -m 0644 ${WORKDIR}/kvm.conf ${D}${systemd_system_unitdir}/${BPN}.service.d/kvm.conf - # 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 install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.demo ${D}${sysconfdir}/xdg/AGL/ diff --git a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb index 85e93d043..0fa9c250b 100644 --- a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb +++ b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb @@ -27,6 +27,8 @@ inherit flutter-app systemd update-alternatives APP_CONFIG = "ics-homescreen.toml" +PUBSPEC_IGNORE_LOCKFILE = "1" + SYSTEMD_SERVICE:${PN} = "flutter-ics-homescreen.service" # Disable the background animation on all platforms except the Renesas M3/H3 for now @@ -34,21 +36,11 @@ DISABLE_BG_ANIMATION = "-DDISABLE_BKG_ANIMATION=true" DISABLE_BG_ANIMATION:rcar-gen3 = "" APP_AOT_EXTRA:append = " ${DISABLE_BG_ANIMATION}" -do_compile[network] = "1" - do_install:append() { install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service install -D -m 0644 ${WORKDIR}/kvm.conf ${D}${systemd_system_unitdir}/${BPN}.service.d/kvm.conf - # 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 - - # VIS authorization token file for KUKSA.val should ideally not # be readable by other users, but currently that's not doable # until a packaging/sandboxing/MAC scheme is (re)implemented or |