Skip to contentSkip to conversation

kernel-dev: Use protocol=https in a SRC_URI example

PATCH In review Peter Kjellerstedt 2 participants 2 messages May 23, 2023

lore
Share & tools
lore
#0 lore raw

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.

---
 documentation/kernel-dev/advanced.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/kernel-dev/advanced.rst +3 -4
index 35195135c4..355326de6e 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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.

---
  documentation/kernel-dev/advanced.rst | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)
documentation/kernel-dev/advanced.rst +0 -1
index 35195135c4..355326de6e 100644
@@ -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!

... and merged into "master-next".

Thanks again!
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com