From 3628d6eb145905d5fb87b0f70437db6f200acf4a Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 31 Jul 2024 13:14:54 -0400 Subject: 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 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 (cherry picked from commit b8aa98a7f1abdef60391bab932eeff57690c62b7) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30128 --- recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | 2 ++ recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'recipes-demo') 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 -- cgit 1.2.3-korg