diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-07-31 13:14:54 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-08-03 19:18:52 +0000 |
commit | 3628d6eb145905d5fb87b0f70437db6f200acf4a (patch) | |
tree | 3edf2e92b5887240b5a378e9f7977f7eb9a47f8d /recipes-demo | |
parent | 0cbf31a2335287a817fd06eb4410c1c883aacfcb (diff) |
Enable network during compile for Flutter app recipes
Explicitly enable network access during compilation in the Flutter
app recipes for now to avoid hangs when building on systems where
BitBake's network sandboxing is working. The underlying issue has
been raised with upstream, but may take a while to resolve, so we
need to work around it in the meantime.
Bug-AGL: SPEC-5215
Change-Id: I8cd9cad626addd85ff77a22e221a817b09f0e73f
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30152
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit b8aa98a7f1abdef60391bab932eeff57690c62b7)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30128
Diffstat (limited to 'recipes-demo')
-rw-r--r-- | recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | 2 | ||||
-rw-r--r-- | recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb | 2 |
2 files changed, 4 insertions, 0 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 b09156bbb..2c9109c70 100644 --- a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb +++ b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb @@ -33,6 +33,8 @@ APP_CONFIG = "flutter_cluster_dashboard_on_bg.json" SYSTEMD_SERVICE:${PN} = "flutter-cluster-dashboard.service" +do_compile[network] = "1" + do_install:append() { install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service 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 45d75b7c7..23e58afb2 100644 --- a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb +++ b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb @@ -35,6 +35,8 @@ 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 |