aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-06-01 15:21:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-02 16:43:17 +0100
commit6abdc81dec06a362bfbcc06d69b90b96bd9bef01 (patch)
treee4d75c4d63876f7e3baccff34433bbc5454dfb7f /doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
parent29774ec6e6f08e9ec0dee5e75c97e750ed055d6e (diff)
downloadbitbake-6abdc81dec06a362bfbcc06d69b90b96bd9bef01.tar.gz
bitbake-user-manual: document "network" task flag
This addresses [YOCTO #15127] Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc/bitbake-user-manual/bitbake-user-manual-metadata.rst')
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-metadata.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index b35c332c8..58975f4c8 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -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