diff mbox series

[meta-rockchip] linux-torvalds-next: SRCREV with nobranch

Message ID 20240620014904.40092-1-twoerner@gmail.com
State New
Headers show
Series [meta-rockchip] linux-torvalds-next: SRCREV with nobranch | expand

Commit Message

Trevor Woerner June 20, 2024, 1:49 a.m. UTC
Switch back to using a SRCREV, but this time without a branch (since this
commit is no longer reachable from any branch), so that network-less builds
can take place (or builds that don't need to resolve the tag (over the
network)).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Khem Raj June 20, 2024, 2:27 a.m. UTC | #1
On Wed, Jun 19, 2024 at 6:49 PM Trevor Woerner via lists.yoctoproject.org
<twoerner=gmail.com@lists.yoctoproject.org> wrote:

> Switch back to using a SRCREV, but this time without a branch (since this
> commit is no longer reachable from any branch), so that network-less builds
> can take place (or builds that don't need to resolve the tag (over the
> network)).


Thanks using nobranch is good option here

>
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb
> b/recipes-kernel/linux/linux-torvalds-next_git.bb
> index 1369ba1d707f..c0ac1de22005 100644
> --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
> +++ b/recipes-kernel/linux/linux-torvalds-next_git.bb
> @@ -13,9 +13,11 @@ LINUX_VERSION = "6.10-rc3"
>  KERNEL_VERSION_SANITY_SKIP = "1"
>  PV = "${LINUX_VERSION}+git${SRCPV}"
>  SRC_URI = " \
> -       git://
> git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1;tag=next-20240611
> \
> +       git://
> git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1
> \
>
> file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta
> \
>         "
> +# this is tag 'next-20240611'
> +SRCREV = "a957267fa7e9159d3d2ee1421359ebf228570c68"
>
>  inherit kernel
>  inherit kernel-yocto
> --
> 2.44.0.478.g7774cfed6261
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#357):
> https://lists.yoctoproject.org/g/yocto-patches/message/357
> Mute This Topic: https://lists.yoctoproject.org/mt/106773121/1997914
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe:
> https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy
> [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
Trevor Woerner June 20, 2024, 4:26 p.m. UTC | #2
On Wed 2024-06-19 @ 09:49:04 PM, Trevor Woerner wrote:
> Switch back to using a SRCREV, but this time without a branch (since this
> commit is no longer reachable from any branch), so that network-less builds
> can take place (or builds that don't need to resolve the tag (over the
> network)).
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to meta-rockchip, master branch.
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
index 1369ba1d707f..c0ac1de22005 100644
--- a/recipes-kernel/linux/linux-torvalds-next_git.bb
+++ b/recipes-kernel/linux/linux-torvalds-next_git.bb
@@ -13,9 +13,11 @@  LINUX_VERSION = "6.10-rc3"
 KERNEL_VERSION_SANITY_SKIP = "1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRC_URI = " \
-	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1;tag=next-20240611 \
+	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1 \
 	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
 	"
+# this is tag 'next-20240611'
+SRCREV = "a957267fa7e9159d3d2ee1421359ebf228570c68"
 
 inherit kernel
 inherit kernel-yocto