From b686aa6dc6a0fbd74ee421f1e0a94768b94a6528 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Fri, 20 May 2022 13:15:57 +0200 Subject: [PATCH] html5-*: allow network access to do_compile stage. In our HTML5 demo packages, we use npm for retrieving dependencies, and that happens in compile stage. So network needs to be enabled accordingly. Bug-AGL: SPEC-4390 Change-Id: I6c00d83b611753d5e2d8d321aa3ad43898f81149 Signed-off-by: Jose Dapena Paz --- recipes-demo/html5-background/html5-background_git.bb | 1 + recipes-demo/html5-homescreen/html5-homescreen_git.bb | 1 + recipes-demo/html5-hvac/html5-hvac_git.bb | 1 + recipes-demo/html5-launcher/html5-launcher_git.bb | 1 + 4 files changed, 4 insertions(+) diff --git a/recipes-demo/html5-background/html5-background_git.bb b/recipes-demo/html5-background/html5-background_git.bb index 24888fcc0..1488f2468 100644 --- a/recipes-demo/html5-background/html5-background_git.bb +++ b/recipes-demo/html5-background/html5-background_git.bb @@ -18,6 +18,7 @@ inherit pythonnative DEPENDS = "nodejs-native" +do_compile[network] = "1" do_compile() { cd ${S} rm -rf package node_modules package-lock.json diff --git a/recipes-demo/html5-homescreen/html5-homescreen_git.bb b/recipes-demo/html5-homescreen/html5-homescreen_git.bb index cff6d4734..db659760a 100644 --- a/recipes-demo/html5-homescreen/html5-homescreen_git.bb +++ b/recipes-demo/html5-homescreen/html5-homescreen_git.bb @@ -18,6 +18,7 @@ inherit pythonnative DEPENDS = "nodejs-native" +do_compile[network] = "1" do_compile() { cd ${S} rm -rf package node_modules package-lock.json diff --git a/recipes-demo/html5-hvac/html5-hvac_git.bb b/recipes-demo/html5-hvac/html5-hvac_git.bb index 83b674514..7a1ecce53 100644 --- a/recipes-demo/html5-hvac/html5-hvac_git.bb +++ b/recipes-demo/html5-hvac/html5-hvac_git.bb @@ -18,6 +18,7 @@ inherit pythonnative DEPENDS = "nodejs-native" +do_compile[network] = "1" do_compile() { cd ${S} rm -rf package node_modules package-lock.json diff --git a/recipes-demo/html5-launcher/html5-launcher_git.bb b/recipes-demo/html5-launcher/html5-launcher_git.bb index 59087006f..83e7f8070 100644 --- a/recipes-demo/html5-launcher/html5-launcher_git.bb +++ b/recipes-demo/html5-launcher/html5-launcher_git.bb @@ -18,6 +18,7 @@ inherit pythonnative DEPENDS = "nodejs-native" +do_compile[network] = "1" do_compile() { cd ${S} rm -rf package node_modules package-lock.json -- 2.16.6