Skip to contentSkip to conversation

linux-torvalds-next: SRCREV with nobranch

PATCH Applied Trevor Woerner 2 participants 3 messages Jun 20, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-torvalds-next: SRCREV with nobranch

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)).

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-torvalds-next_git.bb +3 -1
index 1369ba1d707f..c0ac1de22005 100644
@@ -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
Signature · 1 line
2.44.0.478.g7774cfed6261
#1 lore raw
Quoted 4 lines · Trevor Woerner via lists.yoctoproject.org

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

Quoted 49 lines
---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-torvalds-next_git.bb +0 -1
index 1369ba1d707f..c0ac1de22005 100644
@@ -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

\
        "
recipes-kernel/linux/linux-torvalds-next_git.bb +2 -1
+# 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: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author Applied
#2 lore raw
In reply to Trevor Woerner
Quoted 9 lines · Trevor Woerner

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)).

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Applied to meta-rockchip, master branch.