Skip to contentSkip to conversation

linux-yocto-dev: Set KBRANCH with =

PATCH In review He Zhe 2 participants 2 messages Jan 11, 2022

lore
Share & tools
lore

He Zhe

author
#0 lore raw

PATCH 1/1 linux-yocto-dev: Set KBRANCH with =

The "?=" assignment to KBRANCH in kernel-yocto.bbclass is selected prior to the one in this recipe and makes it "master" as a result.

Change the KBRANCH assignment back to "=" as how it was done before.

---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-dev.bb +1 -1
index 80f62a0412..0d94637352 100644
@@ -16,7 +16,7 @@ inherit pkgconfig
 # provide this .inc to set specific revisions
 include recipes-kernel/linux/linux-yocto-dev-revisions.inc
 
-KBRANCH ?= "v5.16/standard/base"
+KBRANCH = "v5.16/standard/base"
 KMETA = "kernel-meta"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name=machine \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · He Zhe

The "?=" assignment to KBRANCH in kernel-yocto.bbclass is selected prior to the one in this recipe and makes it "master" as a result.

Change the KBRANCH assignment back to "=" as how it was done before.

Right! I was trying to make the switch way from standard/* to be a bit more flexible, but didn't notice that master was building, since it is typically in sync in my local tests.

The change is fine with me.

Bruce

Quoted 19 lines
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-dev.bb +1 -2
index 80f62a0412..0d94637352 100644
@@ -16,7 +16,7 @@ inherit pkgconfig
 # provide this .inc to set specific revisions
 include recipes-kernel/linux/linux-yocto-dev-revisions.inc
 
-KBRANCH ?= "v5.16/standard/base"
+KBRANCH = "v5.16/standard/base"
 KMETA = "kernel-meta"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name=machine \
--
Quoted 2 lines

2.17.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II