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-04-03 16:29:51 +0100
commit5ec826fa2ec4ae7e898eaf2d974d1467c1dadaef (patch)
treecac1a8cb3de10e73f7b2f0d4f2a01edd1ad3cf9a
parenta287584563263bcdbf6d1e7268cf52e894860942 (diff)
downloadpoky-5ec826fa2ec4ae7e898eaf2d974d1467c1dadaef.tar.gz
migration-guides/{migration,release-note}-5.2: improvements and fixes
Address some of the reviews received on the release notes and migration guide for 5.2: - Remove the wget fetcher addition, I misread commit 0a9f90ff658e ("tests/fetch: support setting PV in the wget fetcher") from BitBake, and it actually affects the tests for the wget fetcher, not the fetcher itself. - Add a way to transition from the branch=nameX,nameY syntax. From what I have tested, I achieve the same behavior when using one or the other syntax. - Remove the default value for SPDX_PACKAGE_VERSION in the release note. - Fix a couple of typos. Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 39bf43a6009a46d4979337d7401eb46ece618f67) 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.rst10
-rw-r--r--documentation/migration-guides/release-notes-5.2.rst7
2 files changed, 11 insertions, 6 deletions
diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index c54f054c78..4dd8cd20f8 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -193,6 +193,14 @@ anymore::
193This was rarely used in the core repositories, and this removal simplifies the 193This was rarely used in the core repositories, and this removal simplifies the
194code logic in several places. 194code logic in several places.
195 195
196If one of your recipes is still using this mechanism, you can split the
197code source fetching into two separate entries::
198
199 SRC_URI = "git://some.host/somepath;branch=branchX;name=nameX \
200 git://some.host/somepath;branch=branchY;name=nameY"
201 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx"
202 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy"
203
196Git fetcher: Branch parameter now required in :term:`SRC_URI` 204Git fetcher: Branch parameter now required in :term:`SRC_URI`
197~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 206
@@ -242,7 +250,7 @@ The following recipes have been removed in this release:
242 :oe_git:`openembedded-core </openembedded-core>` or :oe_git:`meta-openembedded </meta-openembedded>`. 250 :oe_git:`openembedded-core </openembedded-core>` or :oe_git:`meta-openembedded </meta-openembedded>`.
243 251
244- ``blktool``: It was created in 2004 as an alternative to hdparm and never 252- ``blktool``: It was created in 2004 as an alternative to hdparm and never
245 updated since (while :wikipedia:`hdparm <Hdparm>` remains in active. 253 updated since (while :wikipedia:`hdparm <Hdparm>` remains active).
246 254
247- ``cargo-c-native``: converted to a target recipe and renamed to ``cargo-c``. 255- ``cargo-c-native``: converted to a target recipe and renamed to ``cargo-c``.
248 256
diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst
index 05fc92e854..2ad4414494 100644
--- a/documentation/migration-guides/release-notes-5.2.rst
+++ b/documentation/migration-guides/release-notes-5.2.rst
@@ -44,11 +44,10 @@ New Features / Enhancements in |yocto-ver|
44 uses. 44 uses.
45 45
46 - The :term:`GRUB_MKIMAGE_OPTS` can be used to control the flags to the 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``). 47 ``grub-mkimage`` command in the context of the GRUB recipe (``grub-efi``).
48 48
49 - The :term:`SPDX_PACKAGE_VERSION` variable controls the package version as 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 50 seen in the SPDX 3.0 JSON output (``software_packageVersion``).
51 value for this variable is :term:`PV`.
52 51
53- Kernel-related changes: 52- Kernel-related changes:
54 53
@@ -345,8 +344,6 @@ New Features / Enhancements in |yocto-ver|
345 - ``wget``: increase timeout to 100s from 30s to match CDN worst 344 - ``wget``: increase timeout to 100s from 30s to match CDN worst
346 response time. 345 response time.
347 346
348 - ``wget``: Support setting :term:`PV` in :term:`SRC_URI`.
349
350 - Add support for fast initial shallow fetch. The fetcher will prefer an 347 - Add support for fast initial shallow fetch. The fetcher will prefer an
351 initial shallow clone, but will re-utilize an existing bare clone if 348 initial shallow clone, but will re-utilize an existing bare clone if
352 there is one. If the remote server does not allow shallow fetches, the 349 there is one. If the remote server does not allow shallow fetches, the