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 removed from BitBake, which means the following syntax is not supported anymore:: - SRC_URI = "git://some.host/somepath;branch=branchX,branchY;name=nameX,nameY" + SRC_URI = "git://some.host/somepath;bareclone=1;branch=branchX,branchY;name=nameX,nameY" SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx" SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy" -This was rarely used in the core repositories, and this removal simplifies the -code logic in several places. +This was rarely used in the core repositories because it would only ever make +sense for bare clones (the ``bareclone=1`` :term:`SRC_URI` option) where recipes +take care of the Git checkout. 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:: +If one of your recipes is 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" + SRC_URI = "git://some.host/somepath;bareclone=1;branch=branchX;name=nameX \ + git://some.host/somepath;bareclone=1;branch=branchY;name=nameY" SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx" SRCREV_nameY = "yyyyyyyyyyyyyyyyyyyy" 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| with a matching hash and path, it will be linked, otherwise a new File element will be created. + - The output of :ref:`devtool upgrade-status + ` + is now sorted by recipe name. + - Patchtest-related changes: - Refactor pattern definitions in a ``patterns`` module.