summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-04-07 10:59:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-21 21:15:29 +0100
commitb5d978a00fc7a56a8a0ded0d6bc9372d6e2d30c6 (patch)
treea43e44601a47cd3b7f05acf2b0183b4172a841d1 /documentation
parent5ab6686526c691ac29ae96f91a57e3ee989f6542 (diff)
downloadpoky-b5d978a00fc7a56a8a0ded0d6bc9372d6e2d30c6.tar.gz
migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 1c3020f17370 ("expat: Upgrade 2.7.0 -> 2.7.1") up to e894acce6ede ("build-appliance-image: Update to master head revision") in Poky: - Add a note on the devtool upgrade-status change. - Be more precise about the usage of multiple repositories in SRC_URI, mention that it makes sense for bare clones only. As the walnascar branch has now frozen and is up for QA, these should be the one of the last changes to these documents. (From yocto-docs rev: 322355ead2be9e267368ca47d805f41ae10ad6cc) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/migration-guides/migration-5.2.rst16
-rw-r--r--documentation/migration-guides/release-notes-5.2.rst4
2 files changed, 13 insertions, 7 deletions
diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index 4dd8cd20f8..6b7d02d656 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -186,18 +186,20 @@ The support for having multiple Git revisions per URL in :term:`SRC_URI` was
186removed from BitBake, which means the following syntax is not supported 186removed from BitBake, which means the following syntax is not supported
187anymore:: 187anymore::
188 188
189 SRC_URI = "git://some.host/somepath;branch=branchX,branchY;name=nameX,nameY" 189 SRC_URI = "git://some.host/somepath;bareclone=1;branch=branchX,branchY;name=nameX,nameY"
190 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx" 190 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx"
191 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy" 191 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy"
192 192
193This was rarely used in the core repositories, and this removal simplifies the 193This was rarely used in the core repositories because it would only ever make
194code logic in several places. 194sense for bare clones (the ``bareclone=1`` :term:`SRC_URI` option) where recipes
195take care of the Git checkout. This removal simplifies the code logic in several
196places.
195 197
196If one of your recipes is still using this mechanism, you can split the 198If one of your recipes is using this mechanism, you can split the code source
197code source fetching into two separate entries:: 199fetching into two separate entries::
198 200
199 SRC_URI = "git://some.host/somepath;branch=branchX;name=nameX \ 201 SRC_URI = "git://some.host/somepath;bareclone=1;branch=branchX;name=nameX \
200 git://some.host/somepath;branch=branchY;name=nameY" 202 git://some.host/somepath;bareclone=1;branch=branchY;name=nameY"
201 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx" 203 SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx"
202 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy" 204 SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy"
203 205
diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst
index 2ad4414494..ac9c6319a4 100644
--- a/documentation/migration-guides/release-notes-5.2.rst
+++ b/documentation/migration-guides/release-notes-5.2.rst
@@ -447,6 +447,10 @@ New Features / Enhancements in |yocto-ver|
447 with a matching hash and path, it will be linked, otherwise a new File 447 with a matching hash and path, it will be linked, otherwise a new File
448 element will be created. 448 element will be created.
449 449
450 - The output of :ref:`devtool upgrade-status
451 <ref-manual/devtool-reference:Checking on the Upgrade Status of a Recipe>`
452 is now sorted by recipe name.
453
450- Patchtest-related changes: 454- Patchtest-related changes:
451 455
452 - Refactor pattern definitions in a ``patterns`` module. 456 - Refactor pattern definitions in a ``patterns`` module.