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>
This commit is contained in:
Antonin Godard 2025-03-25 10:20:55 +01:00 committed by Richard Purdie
parent a287584563
commit 5ec826fa2e
2 changed files with 11 additions and 6 deletions

View File

@ -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 </openembedded-core>` or :oe_git:`meta-openembedded </meta-openembedded>`.
- ``blktool``: It was created in 2004 as an alternative to hdparm and never
updated since (while :wikipedia:`hdparm <Hdparm>` remains in active.
updated since (while :wikipedia:`hdparm <Hdparm>` remains active).
- ``cargo-c-native``: converted to a target recipe and renamed to ``cargo-c``.

View File

@ -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