Skip to contentSkip to conversation

linux-yocto_4.12.bb: Use AUTOREV for qemu* BSPs

PATCH In review Mark Asselstine 2 participants 3 messages Oct 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-yocto_4.12.bb: Use AUTOREV for qemu* BSPs

The kernel we ship as part of product may have newer commits beyond any SRCREV captured in this recipe. Since the assignment operator used here is an early assiignment it could be argued that we could simply overwrite these in a bbappend, however, between layer order and priority and our desire to allow folks to set their own assignment it is most prudent to change these to AUTOREV here.

---

Richard, Bruce,

This is being sent only to conform with YP compliance and I don't expect or want this applied. No need to respond in any form.

Mark

 meta/recipes-kernel/linux/linux-yocto_4.12.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
meta/recipes-kernel/linux/linux-yocto_4.12.bb +1 -8
index a262409..919bf31 100644
@@ -11,14 +11,7 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "67b62d8d7bd9f19f0f4fad044787d947ebc4ec25"
-SRCREV_machine_qemuarm64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips ?= "371926551d44c140a0fb869cec34762b40bdf1a6"
-SRCREV_machine_qemuppc ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86-64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips64 ?= "9d63d9c11c44ceabd452d7ee49cf55a88c39383f"
-SRCREV_machine ?= "16de0149674ed12d983b77a453852ac2e64584b4"
+SRCREV_machine ?= "${AUTOREV}"
 SRCREV_meta ?= "eda4d18ce4b259c84ccd5c249c3dc5958c16928c"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 7 lines · Mark Asselstine

The kernel we ship as part of product may have newer commits beyond any SRCREV captured in this recipe. Since the assignment operator used here is an early assiignment it could be argued that we could simply overwrite these in a bbappend, however, between layer order and priority and our desire to allow folks to set their own assignment it is most prudent to change these to AUTOREV here.

Quoted 7 lines

---

Richard, Bruce,

This is being sent only to conform with YP compliance and I don't expect or want this applied. No need to respond in any form.

.. but I can't help myself.

I find that patch, really, really odd. Compliance or not.

Bruce

Quoted 35 lines

Mark

 meta/recipes-kernel/linux/linux-yocto_4.12.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
meta/recipes-kernel/linux/linux-yocto_4.12.bb +1 -9
index a262409..919bf31 100644
@@ -11,14 +11,7 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "67b62d8d7bd9f19f0f4fad044787d947ebc4ec25"
-SRCREV_machine_qemuarm64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips ?= "371926551d44c140a0fb869cec34762b40bdf1a6"
-SRCREV_machine_qemuppc ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86-64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips64 ?= "9d63d9c11c44ceabd452d7ee49cf55a88c39383f"
-SRCREV_machine ?= "16de0149674ed12d983b77a453852ac2e64584b4"
+SRCREV_machine ?= "${AUTOREV}"
 SRCREV_meta ?= "eda4d18ce4b259c84ccd5c249c3dc5958c16928c"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#2 lore raw
Quoted 13 lines · EDT Bruce Ashfield

On Tue, Oct 24, 2017 at 5:17 PM, Mark Asselstine

Quoted 10 lines · <[email protected]> wrote:

The kernel we ship as part of product may have newer commits beyond any SRCREV captured in this recipe. Since the assignment operator used here is an early assiignment it could be argued that we could simply overwrite these in a bbappend, however, between layer order and priority and our desire to allow folks to set their own assignment it is most prudent to change these to AUTOREV here.

---

Quoted 8 lines
Quoted 4 lines

Richard, Bruce,

This is being sent only to conform with YP compliance and I don't expect or want this applied. No need to respond in any form.

.. but I can't help myself.

I find that patch, really, really odd. Compliance or not.

Its been a long day. There is an internal mail on the subject if you want to discuss details. I don't think we need to bore Richard and others with the details. I am sure there exists alternatives but given all the fun that today was this is what we came up with.

Mark

Quoted 41 lines

Bruce

Quoted 38 lines

Mark

 meta/recipes-kernel/linux/linux-yocto_4.12.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-kernel/linux/linux-yocto_4.12.bb index a262409..919bf31 100644

meta/recipes-kernel/linux/linux-yocto_4.12.bb +1 -8
@@ -11,14 +11,7 @@ KBRANCH_qemux86  ?= "standard/base"
 
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "67b62d8d7bd9f19f0f4fad044787d947ebc4ec25"
-SRCREV_machine_qemuarm64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips ?= "371926551d44c140a0fb869cec34762b40bdf1a6"
-SRCREV_machine_qemuppc ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemux86-64 ?= "16de0149674ed12d983b77a453852ac2e64584b4"
-SRCREV_machine_qemumips64 ?= "9d63d9c11c44ceabd452d7ee49cf55a88c39383f"
-SRCREV_machine ?= "16de0149674ed12d983b77a453852ac2e64584b4"
+SRCREV_machine ?= "${AUTOREV}"
 
 SRCREV_meta ?= "eda4d18ce4b259c84ccd5c249c3dc5958c16928c"

SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${K BRANCH}; \>
--
2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core