diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-04-07 10:59:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-21 21:17:02 +0100 |
commit | 90e4af3effd8b62e52f4f8746d9768bbcf61cfd2 (patch) | |
tree | 89f478ffbfd0c43e743d3f4290dd7676a0fa00d3 | |
parent | 15a7d7b88173ba3998681e7d9ddc7e79bffe8f80 (diff) | |
download | poky-90e4af3effd8b62e52f4f8746d9768bbcf61cfd2.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>
-rw-r--r-- | documentation/migration-guides/migration-5.2.rst | 16 | ||||
-rw-r--r-- | documentation/migration-guides/release-notes-5.2.rst | 4 |
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 | |||
186 | removed from BitBake, which means the following syntax is not supported | 186 | removed from BitBake, which means the following syntax is not supported |
187 | anymore:: | 187 | anymore:: |
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 | ||
193 | This was rarely used in the core repositories, and this removal simplifies the | 193 | This was rarely used in the core repositories because it would only ever make |
194 | code logic in several places. | 194 | sense for bare clones (the ``bareclone=1`` :term:`SRC_URI` option) where recipes |
195 | take care of the Git checkout. This removal simplifies the code logic in several | ||
196 | places. | ||
195 | 197 | ||
196 | If one of your recipes is still using this mechanism, you can split the | 198 | If one of your recipes is using this mechanism, you can split the code source |
197 | code source fetching into two separate entries:: | 199 | fetching 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. |