diff options
Diffstat (limited to 'documentation/migration-guides/migration-5.2.rst')
-rw-r--r-- | documentation/migration-guides/migration-5.2.rst | 56 |
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|) | |||
14 | This section provides migration information for moving to the Yocto | 14 | This section provides migration information for moving to the Yocto |
15 | Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release. | 15 | Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release. |
16 | 16 | ||
17 | ``debug-tweaks`` removed from :term:`IMAGE_FEATURES` | ||
18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
19 | |||
20 | The ``debug-tweaks`` image feature is now removed because it was too vague about | ||
21 | what it achieved: an image on which the ``root`` user can login without a | ||
22 | password. | ||
23 | |||
24 | To achieve the same result, the features previously added by ``debug-tweaks`` | ||
25 | should 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 | |||
32 | Such a statement would be:: | ||
33 | |||
34 | IMAGE_FEATURES += "allow-empty-password allow-root-login empty-root-password post-install-logging" | ||
35 | |||
36 | See the list of available image features in the :ref:`ref-features-image` | ||
37 | section of the Yocto Project Reference Manual. | ||
38 | |||
17 | Supported kernel versions | 39 | Supported kernel versions |
18 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 40 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
19 | 41 | ||
@@ -34,9 +56,24 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`. | |||
34 | Go language changes | 56 | Go language changes |
35 | ~~~~~~~~~~~~~~~~~~~ | 57 | ~~~~~~~~~~~~~~~~~~~ |
36 | 58 | ||
59 | Rust 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 | |||
37 | systemd changes | 66 | systemd 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 | |||
40 | Recipe changes | 77 | Recipe changes |
41 | ~~~~~~~~~~~~~~ | 78 | ~~~~~~~~~~~~~~ |
42 | 79 | ||
@@ -45,16 +82,35 @@ Removed variables | |||
45 | 82 | ||
46 | The following variables have been removed: | 83 | The 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 | |||
48 | Removed recipes | 96 | Removed recipes |
49 | ~~~~~~~~~~~~~~~ | 97 | ~~~~~~~~~~~~~~~ |
50 | 98 | ||
51 | The following recipes have been removed in this release: | 99 | The 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 | |||
53 | Removed classes | 106 | Removed classes |
54 | ~~~~~~~~~~~~~~~ | 107 | ~~~~~~~~~~~~~~~ |
55 | 108 | ||
56 | The following classes have been removed in this release: | 109 | The 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 | |||
58 | Miscellaneous changes | 114 | Miscellaneous changes |
59 | ~~~~~~~~~~~~~~~~~~~~~ | 115 | ~~~~~~~~~~~~~~~~~~~~~ |
60 | 116 | ||