summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/migration-guides')
-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