Skip to contentSkip to conversation

websocketd: enable network access for compile task

PATCH New Denys Dmytriyenko 1 participant 1 message Sep 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 websocketd: enable network access for compile task

From: Denys Dmytriyenko <[email protected]>

Since go modules do own fetching during compile time.

---
v2 - also export https_proxy

 .../recipes-devtools/websocketd/websocketd_0.4.1.bb            | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb +3 -0
index 2ec6a19a..66475726 100644
@@ -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"
Signature · 1 line
2.25.1