diff mbox series

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

Message ID 20230523013242.54314-1-pkj@axis.com
State New
Headers show
Series kernel-dev: Use protocol=https in a SRC_URI example | expand

Commit Message

Peter Kjellerstedt May 23, 2023, 1:32 a.m. UTC
This matches the change in commit 139102a73d (recipes: Default to https
git protocol where possible) in openembedded-core.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 documentation/kernel-dev/advanced.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Michael Opdenacker May 23, 2023, 8:39 a.m. UTC | #1
Hi Peter,

On 23.05.23 at 03:32, Peter Kjellerstedt wrote:
> This matches the change in commit 139102a73d (recipes: Default to https
> git protocol where possible) in openembedded-core.
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
>   documentation/kernel-dev/advanced.rst | 7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/documentation/kernel-dev/advanced.rst b/documentation/kernel-dev/advanced.rst
> index 35195135c4..355326de6e 100644
> --- a/documentation/kernel-dev/advanced.rst
> +++ b/documentation/kernel-dev/advanced.rst
> @@ -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


Many thanks for the patch!
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
... and merged into "master-next".

Thanks again!
Cheers
Michael.
diff mbox series

Patch

diff --git a/documentation/kernel-dev/advanced.rst b/documentation/kernel-dev/advanced.rst
index 35195135c4..355326de6e 100644
--- a/documentation/kernel-dev/advanced.rst
+++ b/documentation/kernel-dev/advanced.rst
@@ -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