html5-*: allow network access to do_compile stage. 13/27513/2
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 20 May 2022 11:15:57 +0000 (13:15 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 26 May 2022 20:59:58 +0000 (20:59 +0000)
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 <jdapena@igalia.com>
recipes-demo/html5-background/html5-background_git.bb
recipes-demo/html5-homescreen/html5-homescreen_git.bb
recipes-demo/html5-hvac/html5-hvac_git.bb
recipes-demo/html5-launcher/html5-launcher_git.bb

index 24888fc..1488f24 100644 (file)
@@ -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
index cff6d47..db65976 100644 (file)
@@ -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
index 83b6745..7a1ecce 100644 (file)
@@ -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
index 5908700..83e7f80 100644 (file)
@@ -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