summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides/migration-5.2.rst
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2024-12-20 13:16:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-28 10:57:47 +0000
commit9b3b7bc4cd743a3b51a19978147d3b7b7d57cc33 (patch)
tree17fd4efe6a48d1760487a5959901f0f729dfc900 /documentation/migration-guides/migration-5.2.rst
parent4e49c8bfa572f7136fde238ec04d8c4b7c57feec (diff)
downloadpoky-9b3b7bc4cd743a3b51a19978147d3b7b7d57cc33.tar.gz
migration-guides: update the release notes for 5.2
Update the release note and migration guide for the 5.2 release. This release is not due until April 2025, but this catches up what has already been applied since 5.1. Precisely, this tracks the important changes between commits 8149e74258 and 87d7341465 in poky. (From yocto-docs rev: a51a94f0b228d570d915dff36a49132e90e93cf1) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides/migration-5.2.rst')
-rw-r--r--documentation/migration-guides/migration-5.2.rst56
1 files changed, 56 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index 7b35e7721f..cb70e19da0 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -14,6 +14,28 @@ Migration notes for |yocto-ver| (|yocto-codename|)
14This section provides migration information for moving to the Yocto 14This section provides migration information for moving to the Yocto
15Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release. 15Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release.
16 16
17``debug-tweaks`` removed from :term:`IMAGE_FEATURES`
18~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
20The ``debug-tweaks`` image feature is now removed because it was too vague about
21what it achieved: an image on which the ``root`` user can login without a
22password.
23
24To achieve the same result, the features previously added by ``debug-tweaks``
25should be manually added to the :term:`IMAGE_FEATURES` variable. These are:
26
27- ``allow-empty-password``
28- ``allow-root-login``
29- ``empty-root-password``
30- ``post-install-logging``
31
32Such a statement would be::
33
34 IMAGE_FEATURES += "allow-empty-password allow-root-login empty-root-password post-install-logging"
35
36See the list of available image features in the :ref:`ref-features-image`
37section of the Yocto Project Reference Manual.
38
17Supported kernel versions 39Supported kernel versions
18~~~~~~~~~~~~~~~~~~~~~~~~~ 40~~~~~~~~~~~~~~~~~~~~~~~~~
19 41
@@ -34,9 +56,24 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`.
34Go language changes 56Go language changes
35~~~~~~~~~~~~~~~~~~~ 57~~~~~~~~~~~~~~~~~~~
36 58
59Rust language changes
60~~~~~~~~~~~~~~~~~~~~~
61
62- Recipes inheriting the :ref:`ref-classes-cargo` do not install libraries by
63 default anymore. This behavior can be controlled by the
64 :term:`CARGO_INSTALL_LIBRARIES` variable.
65
37systemd changes 66systemd changes
38~~~~~~~~~~~~~~~ 67~~~~~~~~~~~~~~~
39 68
69- Support for ``split-usr`` and ``unmerged-usr`` are now removed after Systemd
70 was updated to version 255. This option allowed installing Systemd in a
71 system where directories such as ``/lib``, ``/sbin`` or ``/bin`` are *not*
72 merged into ``/usr``.
73
74 As a consequence, the ``systemd`` recipe no longer contains the ``usrmerge``
75 :term:`PACKAGECONFIG` option as it is now implied by default.
76
40Recipe changes 77Recipe changes
41~~~~~~~~~~~~~~ 78~~~~~~~~~~~~~~
42 79
@@ -45,16 +82,35 @@ Removed variables
45 82
46The following variables have been removed: 83The following variables have been removed:
47 84
85- ``PACKAGE_SNAP_LIB_SYMLINKS``: related to an unmaintained and obsolete
86 "micro" :term:`distro <DISTRO>`.
87
88- ``SETUPTOOLS_INSTALL_ARGS``: obsolete and unused variable.
89
90- ``BB_DANGLINGAPPENDS_WARNONLY``: support for only warning the user when a
91 ``.bbappend`` file doesn't apply to the original recipe has been dropped. See
92 the :ref:`dev-manual/layers:Appending Other Layers Metadata With Your Layer`
93 section of the Yocto Project Development Tasks Manual for alternatives to
94 this variable.
95
48Removed recipes 96Removed recipes
49~~~~~~~~~~~~~~~ 97~~~~~~~~~~~~~~~
50 98
51The following recipes have been removed in this release: 99The following recipes have been removed in this release:
52 100
101- ``liburi-perl``: moved to :oe_git:`meta-perl </meta-openembedded/tree/meta-perl>`.
102- ``python3-isodate``: moved to :oe_git:`meta-python </meta-openembedded/tree/meta-python>`.
103- ``python3-iniparse``: removed as there are no consumers of this recipe in
104 :oe_git:`openembedded-core </openembedded-core>` or :oe_git:`meta-openembedded </meta-openembedded>`.
105
53Removed classes 106Removed classes
54~~~~~~~~~~~~~~~ 107~~~~~~~~~~~~~~~
55 108
56The following classes have been removed in this release: 109The following classes have been removed in this release:
57 110
111- ``migrate_localcount.bbclass``: obsolete class for which code was already
112 removed in 2012.
113
58Miscellaneous changes 114Miscellaneous changes
59~~~~~~~~~~~~~~~~~~~~~ 115~~~~~~~~~~~~~~~~~~~~~
60 116