summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-01-18 12:06:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-03 13:47:50 +0000
commite4e58669f0678d9068b236cd6e91bc7e3f71339a (patch)
tree9640506b955ae19d66f8c6081db34b6922c500c4 /documentation
parentf299005d66860ec10466fd2a294829aa3f322014 (diff)
downloadpoky-e4e58669f0678d9068b236cd6e91bc7e3f71339a.tar.gz
migration-3.5: mention task specific network access
(From yocto-docs rev: d8573e8a36eef61be1c9e7706c38ed28ca4c9962) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/migration-guides/migration-3.5.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst
index bd807eb8c7..df15487b10 100644
--- a/documentation/migration-guides/migration-3.5.rst
+++ b/documentation/migration-guides/migration-3.5.rst
@@ -22,6 +22,18 @@ Recipe changes
22 recipes now need to use ``;protocol=https`` at the end of GitHub 22 recipes now need to use ``;protocol=https`` at the end of GitHub
23 URLs. The same script as above can be used to convert the recipes. 23 URLs. The same script as above can be used to convert the recipes.
24 24
25- Network access from tasks is now disabled by default on kernels which support
26 this feature (on most recent distros such as CentOS 8 and Debian 11 onwards).
27 This means that tasks accessing the network need to be marked as such with the ``network``
28 flag. For example::
29
30 do_mytask[network] = "1"
31
32 This is allowed by default from ``do_fetch`` but not from any of our other standard
33 tasks. Recipes shouldn't be accessing the network outside of ``do_fetch`` as it
34 usually undermines fetcher source mirroring, image and licence manifests, software
35 auditing and supply chain security.
36
25- The :term:`TOPDIR` variable and the current working directory are no longer modified 37- The :term:`TOPDIR` variable and the current working directory are no longer modified
26 when parsing recipes. Any code depending on that behaviour will no longer work. 38 when parsing recipes. Any code depending on that behaviour will no longer work.
27 39