diff mbox series

[master/kirkstone,v2] websocketd: enable network access for compile task

Message ID 20220923173347.836948-1-denis@denix.org
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [master/kirkstone,v2] websocketd: enable network access for compile task | expand

Commit Message

Denys Dmytriyenko Sept. 23, 2022, 5:33 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

Since go modules do own fetching during compile time.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
v2 - also export https_proxy

 .../recipes-devtools/websocketd/websocketd_0.4.1.bb            | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
index 2ec6a19a..66475726 100644
--- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
+++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
@@ -12,7 +12,10 @@  SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e"
 
 # bitbake only exports proxy variables during fetching, but go handles
 # module fetching on its own during compile and needs proxy settings
+# along with network access for the task
 export http_proxy
+export https_proxy
+do_compile[network] = "1"
 
 # Development package contains all the examples in different languages
 INSANE_SKIP:${PN}-dev = "file-rdeps"