diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-29 11:56:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-08 23:41:11 +0100 |
commit | 6217bbbe7e030fed93c302fd9826e7bb73a217ce (patch) | |
tree | e5122d6caa6eeb21b5096ae1bf420b56be706029 /documentation/migration-guides/migration-5.3.rst | |
parent | 89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2 (diff) | |
download | poky-6217bbbe7e030fed93c302fd9826e7bb73a217ce.tar.gz |
migration-guides/release-notes-5.3: updates
Update the release notes and migration manual for 5.3.
This covers commits from c4a5e590b53b ("rust-llvm: Compile llvm to use
dynamic libraries") to 2a832e6af1b6 ("orc: set CVE_PRODUCT") in Poky.
(From yocto-docs rev: c8d852ad63219d067e497a77d489a4011b0d0a26)
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.3.rst')
-rw-r--r-- | documentation/migration-guides/migration-5.3.rst | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-5.3.rst b/documentation/migration-guides/migration-5.3.rst index 4d2e1763ce..97e41605f4 100644 --- a/documentation/migration-guides/migration-5.3.rst +++ b/documentation/migration-guides/migration-5.3.rst | |||
@@ -64,6 +64,60 @@ The first change can introduce a lot of consecutive empty lines, so those can be | |||
64 | 64 | ||
65 | sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` | 65 | sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` |
66 | 66 | ||
67 | |||
68 | BitBake Git fetcher ``tag`` parameter | ||
69 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
70 | |||
71 | The ``tag=`` parameter of the Git fetcher (``git://``) was updated. The tag | ||
72 | commit SHA will be compared against the value supplied by the :term:`SRCREV` | ||
73 | variable or the ``rev=`` parameter in the URI in :term:`SRC_URI`. This is | ||
74 | strongly recommended to add to the URIs when using the Git fetcher for | ||
75 | repositories using tag releases. | ||
76 | |||
77 | Space around equal assignment | ||
78 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
79 | |||
80 | A new warning is now printed when there are no whitespaces around an ``=`` | ||
81 | assignment in recipes:: | ||
82 | |||
83 | <filename>:<line number> has a lack of whitespace around the assignment: '<assignment>' | ||
84 | |||
85 | For example, the following assignments would print a warning:: | ||
86 | |||
87 | FOO="bar" | ||
88 | FOO= "bar" | ||
89 | FOO ="bar" | ||
90 | |||
91 | These should be replaced by:: | ||
92 | |||
93 | FOO = "bar" | ||
94 | |||
95 | Wic plugins containing dashes should be renamed | ||
96 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
97 | |||
98 | After a Python upgrade, :ref:`Wic <dev-manual/wic:creating partitioned images | ||
99 | using wic>` plugins containing dashes (``-``) for their filenames are **no | ||
100 | longer supported**. One must rename the plugin file and convert the dashes to | ||
101 | underscores (``_``). | ||
102 | |||
103 | It is also recommended to update any WKS file to convert dashes to underscores. | ||
104 | For example, the ``bootimg-partition.py`` plugin was renamed to | ||
105 | ``bootimg_partition.py``. This means that any WKS file using this plugin must | ||
106 | change each ``--source bootimg-partition`` to ``--source bootimg_partition``. | ||
107 | |||
108 | However, the current WIC code automatically converts dashes to underscore for | ||
109 | any ``--source`` call, so existing WKS files will not break if they use upstream | ||
110 | plugins from :term:`OpenEmbedded-Core (OE-Core)`. | ||
111 | |||
112 | ``fitImage`` no longer supporter for :term:`KERNEL_IMAGETYPE` | ||
113 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
114 | |||
115 | The ``fitImage`` type for :term:`KERNEL_IMAGETYPE` is no longer supported. The | ||
116 | logic for creating a FIT image was moved out of the :ref:`ref-classes-kernel` | ||
117 | class. Instead, one should create a new recipe to build this FIT image, as | ||
118 | described in the :ref:`Removed Classes <migration-guides/migration-5.3:Removed | ||
119 | Classes>` section of the Migration notes for |yocto-ver| (|yocto-codename|). | ||
120 | |||
67 | Supported kernel versions | 121 | Supported kernel versions |
68 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 122 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
69 | 123 | ||
@@ -99,11 +153,38 @@ Removed variables | |||
99 | 153 | ||
100 | The following variables have been removed: | 154 | The following variables have been removed: |
101 | 155 | ||
156 | - ``BUILDHISTORY_RESET``: Setting this to non-empty used to remove the old | ||
157 | content of the :ref:`ref-classes-buildhistory` as part of the current | ||
158 | :term:`BitBake` invocation and replace it with information about what was | ||
159 | built during the build. This was partly broken and hard to maintain. | ||
160 | |||
102 | Removed recipes | 161 | Removed recipes |
103 | ~~~~~~~~~~~~~~~ | 162 | ~~~~~~~~~~~~~~~ |
104 | 163 | ||
105 | The following recipes have been removed in this release: | 164 | The following recipes have been removed in this release: |
106 | 165 | ||
166 | - ``libsoup``: The last user in :term:`OpenEmbedded-Core (OE-Core)` was | ||
167 | ``gst-examples``, which has been upgraded with its ``libsoup`` dependency | ||
168 | dropped. | ||
169 | |||
170 | - ``glibc-y2038-tests``: removed as the recipe only provides tests which are | ||
171 | now provided by ``glibc-testsuite``. | ||
172 | |||
173 | - ``python3-ndg-httpsclient``: The last dependency in core on this recipe was | ||
174 | removed in May 2024 with dfa482f1998 ("python3-requests: cleanup RDEPENDS"), | ||
175 | and there is no other user of this variable. | ||
176 | |||
177 | Removed :term:`PACKAGECONFIG` entries | ||
178 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
179 | |||
180 | - ``dropbear``: ``enable-x11-forwarding`` (renamed to ``x11``) | ||
181 | |||
182 | - ``libxml2``: ``ipv6`` | ||
183 | |||
184 | - ``squashfs-tools``: ``reproducible`` | ||
185 | |||
186 | - ``mesa``: ``kmsro``, ``osmesa``, ``xa`` | ||
187 | |||
107 | Removed classes | 188 | Removed classes |
108 | ~~~~~~~~~~~~~~~ | 189 | ~~~~~~~~~~~~~~~ |
109 | 190 | ||
@@ -151,6 +232,11 @@ The following classes have been removed in this release: | |||
151 | 232 | ||
152 | See the :ref:`ref-classes-kernel-fit-image` section for more information. | 233 | See the :ref:`ref-classes-kernel-fit-image` section for more information. |
153 | 234 | ||
235 | - ``icecc.bbclass``: Reports show that this class has been broken since Yocto | ||
236 | Mickledore which suggests there are limited numbers of users. It doesn't have | ||
237 | any automated testing and it would be hard to setup and maintain a testing | ||
238 | environment for it. The original users/maintainers aren't using it now. | ||
239 | |||
154 | Removed features | 240 | Removed features |
155 | ~~~~~~~~~~~~~~~~ | 241 | ~~~~~~~~~~~~~~~~ |
156 | 242 | ||
@@ -158,3 +244,6 @@ The following features have been removed in this release: | |||
158 | 244 | ||
159 | Miscellaneous changes | 245 | Miscellaneous changes |
160 | ~~~~~~~~~~~~~~~~~~~~~ | 246 | ~~~~~~~~~~~~~~~~~~~~~ |
247 | |||
248 | - ``xserver-xorg``: remove sub-package ``${PN}-xwayland``, as ``xwayland`` is | ||
249 | now its own recipe. | ||