Skip to contentSkip to conversation

bitbake-user-manual: document "network" task flag

PATCH New [email protected] 1 participant 1 message Jun 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake-user-manual: document "network" task flag

From: Michael Opdenacker <[email protected]>

This addresses [YOCTO #15127]

---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +6 -0
index b35c332c..58975f4c 100644
@@ -1519,6 +1519,12 @@ functionality of the task:
    released. You can use this variable flag to accomplish mutual
    exclusion.
 
+-  ``[network]``: When set to "1", allows a task to access the network. By
+   default, only the ``do_fetch`` task is granted network access. Recipes
+   shouldn't access the network outside of ``do_fetch`` as it usually
+   undermines fetcher source mirroring, image and licence manifests, software
+   auditing and supply chain security.
+
 -  ``[noexec]``: When set to "1", marks the task as being empty, with
    no execution required. You can use the ``[noexec]`` flag to set up
    tasks as dependency placeholders, or to disable tasks defined
Signature · 1 line
2.34.1