kernel-dev: Use protocol=https in a SRC_URI example
PATCH 1/1 kernel-dev: Use protocol=https in a SRC_URI example
This matches the change in commit 139102a73d (recipes: Default to https git protocol where possible) in openembedded-core.
Signed-off-by Peter Kjellerstedt <[email protected]>
--- documentation/kernel-dev/advanced.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/kernel-dev/advanced.rst +3 -4
@@ -730,11 +730,10 @@ reside in a separate repository. The OpenEmbedded build system adds the Metadata to the build as a "type=kmeta" repository through the :term:`SRC_URI` variable. As an example, consider the following :term:`SRC_URI` statement from the -``linux-yocto_4.12.bb`` kernel recipe:: - - SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}" +``linux-yocto_5.15.bb`` kernel recipe:: + SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" ``${KMETA}``, in this context, is simply used to name the directory into which the Git fetcher places the Metadata. This behavior is no different
Hi Peter,
Quoted 17 lines · Peter Kjellerstedt
This matches the change in commit
139102a73d(recipes: Default to https git protocol where possible) in openembedded-core.Signed-off-by Peter Kjellerstedt <[email protected]>--- documentation/kernel-dev/advanced.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)documentation/kernel-dev/advanced.rst +0
-1@@ -730,11 +730,10 @@ reside in a separate repository. The OpenEmbedded build system adds the Metadata to the build as a "type=kmeta" repository through the :term:`SRC_URI` variable. As an example, consider the following :term:`SRC_URI` statement from the -``linux-yocto_4.12.bb`` kernel recipe::
documentation/kernel-dev/advanced.rst reside in a separate repository. The OpenEmbedded build system adds the · line 739
Quoted 10 lines
documentation/kernel-dev/advanced.rst +3
-3- - SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}" +``linux-yocto_5.15.bb`` kernel recipe:: + SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" ``${KMETA}``, in this context, is simply used to name the directory into which the Git fetcher places the Metadata. This behavior is no different
Many thanks for the patch!
Reviewed-by Michael Opdenacker <[email protected]>
... and merged into "master-next".
Thanks again!
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com