From 5ec826fa2ec4ae7e898eaf2d974d1467c1dadaef Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 25 Mar 2025 10:20:55 +0100 Subject: 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 (From yocto-docs rev: 39bf43a6009a46d4979337d7401eb46ece618f67) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-5.2.rst | 10 +++++++++- documentation/migration-guides/release-notes-5.2.rst | 7 ++----- 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:: This was rarely used in the core repositories, and this removal simplifies the code logic in several places. +If one of your recipes is still using this mechanism, you can split the +code source fetching into two separate entries:: + + SRC_URI = "git://some.host/somepath;branch=branchX;name=nameX \ + git://some.host/somepath;branch=branchY;name=nameY" + SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx" + SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy" + Git fetcher: Branch parameter now required in :term:`SRC_URI` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -242,7 +250,7 @@ The following recipes have been removed in this release: :oe_git:`openembedded-core ` or :oe_git:`meta-openembedded `. - ``blktool``: It was created in 2004 as an alternative to hdparm and never - updated since (while :wikipedia:`hdparm ` remains in active. + updated since (while :wikipedia:`hdparm ` remains active). - ``cargo-c-native``: converted to a target recipe and renamed to ``cargo-c``. 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| uses. - The :term:`GRUB_MKIMAGE_OPTS` can be used to control the flags to the - ``grub-mkimage`` command in the context of the Grub recipe (``grub-efi``). + ``grub-mkimage`` command in the context of the GRUB recipe (``grub-efi``). - The :term:`SPDX_PACKAGE_VERSION` variable controls the package version as - seen in the SPDX 3.0 JSON output (``software_packageVersion``). The default - value for this variable is :term:`PV`. + seen in the SPDX 3.0 JSON output (``software_packageVersion``). - Kernel-related changes: @@ -345,8 +344,6 @@ New Features / Enhancements in |yocto-ver| - ``wget``: increase timeout to 100s from 30s to match CDN worst response time. - - ``wget``: Support setting :term:`PV` in :term:`SRC_URI`. - - Add support for fast initial shallow fetch. The fetcher will prefer an initial shallow clone, but will re-utilize an existing bare clone if there is one. If the remote server does not allow shallow fetches, the -- cgit v1.2.3-54-g00ecf