summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-03-25 10:20:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-28 13:17:13 +0000
commit0fffea46ec7ad3a1874cdc6002efc99f2fa4fa68 (patch)
tree522565c165bbc7ee6465a20043014458449d9f42
parent4562a9b2f3707846afb7e85f78f59d1d7bf7b6a7 (diff)
downloadpoky-0fffea46ec7ad3a1874cdc6002efc99f2fa4fa68.tar.gz
migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 0e91a1dabf27 ("adwaita-icon-theme: upgrade 47.0 -> 48.0") up to b3c21a23ad3a ("migration-guides/release-notes-5.2: update for upcoming 5.2 release") in Poky. (From yocto-docs rev: e61630ba2e4e865b57e920171a62824a4eba6533) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/migration-guides/migration-5.2.rst26
-rw-r--r--documentation/migration-guides/release-notes-5.2.rst22
2 files changed, 48 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index 59a2782f24..c54f054c78 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -178,6 +178,32 @@ This should now be replaced by::
178 178
179 UBOOT_ENTRYPOINT ?= "0x20008000" 179 UBOOT_ENTRYPOINT ?= "0x20008000"
180 180
181
182Git fetcher: support for multiple revisions per URL removed
183~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184
185The support for having multiple Git revisions per URL in :term:`SRC_URI` was
186removed from BitBake, which means the following syntax is not supported
187anymore::
188
189 SRC_URI = "git://some.host/somepath;branch=branchX,branchY;name=nameX,nameY"
190 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx"
191 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy"
192
193This was rarely used in the core repositories, and this removal simplifies the
194code logic in several places.
195
196Git fetcher: Branch parameter now required in :term:`SRC_URI`
197~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198
199The ``branch`` parameter is now required when specifying a Git repository in
200:term:`SRC_URI`, for example::
201
202 SRC_URI = "git://some.host/somepath;branch=branchX"
203
204A missing ``branch`` parameter used to produce a warning, and will now produce
205an error.
206
181Recipe changes 207Recipe changes
182~~~~~~~~~~~~~~ 208~~~~~~~~~~~~~~
183 209
diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst
index cbef0d6863..05fc92e854 100644
--- a/documentation/migration-guides/release-notes-5.2.rst
+++ b/documentation/migration-guides/release-notes-5.2.rst
@@ -43,6 +43,13 @@ New Features / Enhancements in |yocto-ver|
43 This can be used for authentication of private NPM registries, among other 43 This can be used for authentication of private NPM registries, among other
44 uses. 44 uses.
45 45
46 - The :term:`GRUB_MKIMAGE_OPTS` can be used to control the flags to the
47 ``grub-mkimage`` command in the context of the Grub recipe (``grub-efi``).
48
49 - The :term:`SPDX_PACKAGE_VERSION` variable controls the package version as
50 seen in the SPDX 3.0 JSON output (``software_packageVersion``). The default
51 value for this variable is :term:`PV`.
52
46- Kernel-related changes: 53- Kernel-related changes:
47 54
48 - :ref:`ref-classes-cml1`: in :ref:`ref-tasks-diffconfig`, do not override 55 - :ref:`ref-classes-cml1`: in :ref:`ref-tasks-diffconfig`, do not override
@@ -81,6 +88,10 @@ New Features / Enhancements in |yocto-ver|
81 - ``qcom-x1e80100-lenovo-t14s-g6-adreno`` 88 - ``qcom-x1e80100-lenovo-t14s-g6-adreno``
82 - ``qcom-x1e80100-lenovo-t14s-g6-audio`` 89 - ``qcom-x1e80100-lenovo-t14s-g6-audio``
83 - ``qcom-x1e80100-lenovo-t14s-g6-compute`` 90 - ``qcom-x1e80100-lenovo-t14s-g6-compute``
91 - ``qcom-adreno-a623``
92 - ``qcom-qcs8300-adreno``
93 - ``qca-qca2066``
94 - ``qcom-adreno-a2xx``
84 95
85 - ``linux-firmware``: split ``amgpu``, ``ath10k``, ``ath11k`` and ``ath12k`` 96 - ``linux-firmware``: split ``amgpu``, ``ath10k``, ``ath11k`` and ``ath12k``
86 in separate packages. 97 in separate packages.
@@ -208,6 +219,10 @@ New Features / Enhancements in |yocto-ver|
208 - ``rust-target-config``: Update the data layout for the *x86-64* target, as 219 - ``rust-target-config``: Update the data layout for the *x86-64* target, as
209 it was different in Rust from LLVM, which produced a data layout error. 220 it was different in Rust from LLVM, which produced a data layout error.
210 221
222 - The :term:`PACKAGECONFIG_CONFARGS` value if now passed to the ``cargo
223 build`` command, which means that Rust recipes can now properly define
224 their :term:`PACKAGECONFIG` configuration.
225
211- Wic Image Creator changes: 226- Wic Image Creator changes:
212 227
213 - Allow the ``--exclude-path`` option to exclude symlinks. 228 - Allow the ``--exclude-path`` option to exclude symlinks.
@@ -330,6 +345,8 @@ New Features / Enhancements in |yocto-ver|
330 - ``wget``: increase timeout to 100s from 30s to match CDN worst 345 - ``wget``: increase timeout to 100s from 30s to match CDN worst
331 response time. 346 response time.
332 347
348 - ``wget``: Support setting :term:`PV` in :term:`SRC_URI`.
349
333 - Add support for fast initial shallow fetch. The fetcher will prefer an 350 - Add support for fast initial shallow fetch. The fetcher will prefer an
334 initial shallow clone, but will re-utilize an existing bare clone if 351 initial shallow clone, but will re-utilize an existing bare clone if
335 there is one. If the remote server does not allow shallow fetches, the 352 there is one. If the remote server does not allow shallow fetches, the
@@ -494,6 +511,8 @@ New Features / Enhancements in |yocto-ver|
494 - ``systemd``: ``apparmor``, ``fido``, ``mountfsd``, ``nsresourced`` 511 - ``systemd``: ``apparmor``, ``fido``, ``mountfsd``, ``nsresourced``
495 - ``ovmf``: ``debug`` 512 - ``ovmf``: ``debug``
496 - ``webkitgtk``: ``assertions`` 513 - ``webkitgtk``: ``assertions``
514 - ``iproute2``: ``iptables``
515 - ``man-db``: ``col``
497 516
498- Systemd related changes: 517- Systemd related changes:
499 518
@@ -540,6 +559,9 @@ New Features / Enhancements in |yocto-ver|
540 - Add a sanity check to validate that the C++ toolchain is functional on the 559 - Add a sanity check to validate that the C++ toolchain is functional on the
541 host. 560 host.
542 561
562 - Add a sanity check to check that the C++ compiler on the host supports
563 C++20.
564
543 - Add a sanity check to verify that :term:`TOPDIR` does not contain 565 - Add a sanity check to verify that :term:`TOPDIR` does not contain
544 non-ASCII characters, as it may lead to unexpected build errors. 566 non-ASCII characters, as it may lead to unexpected build errors.
545 567