Skip to contentSkip to conversation

arm/layer.conf: unify on a layer priority of 5

PATCH In review Ross Burton 2 participants 2 messages Aug 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/layer.conf: unify on a layer priority of 5

From: Ross Burton <[email protected]>

This layer may want to ship older versions of software than oe-core for some BSPs (such as u-boot), but we don't want to force those downgrades on everyone else. Unfortunately because the meta-arm layers have priority 6, any recipe in this layer wins over newer versions in oe-core:
for example with an older release of u-boot in meta-arm, simply adding meta-arm to BBLAYERS will result in qemux86 downgrading u-boot.

Solve this by lowering meta-arm's priority to match oe-core, so that recipes are treated equally and the usual version ordering applies.

Change-Id I6de7a6b493e71b8b88862018b9fa35608342c1b2
---
 meta-arm/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/conf/layer.conf +1 -1
index 14a5922..d53c40a 100644
@@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "meta-arm"
 BBFILE_PATTERN_meta-arm = "^${LAYERDIR}/"
-BBFILE_PRIORITY_meta-arm = "6"
+BBFILE_PRIORITY_meta-arm = "5"
 
 LAYERDEPENDS_meta-arm = " \
     core \
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Ross Burton via lists.yoctoproject.org
Sent: 12 August 2020 09:48
To: [email protected]
Subject: [meta-arm] [PATCH] arm/layer.conf: unify on a layer priority of 5

From: Ross Burton <[email protected]>

This layer may want to ship older versions of software than oe-core for some BSPs (such as u-boot), but we don't want to force those downgrades on everyone else. Unfortunately because the meta-arm layers have priority 6, any recipe in this layer wins over newer versions in oe-core:
for example with an older release of u-boot in meta-arm, simply adding meta- arm to BBLAYERS will result in qemux86 downgrading u-boot.

Quoted 5 lines

Solve this by lowering meta-arm's priority to match oe-core, so that recipes are treated equally and the usual version ordering applies.

Change-Id I6de7a6b493e71b8b88862018b9fa35608342c1b2
Quoted 15 lines

---
meta-arm/conf/layer.conf | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/conf/layer.conf index renamed from meta-arm/conf/layer.conf +0 -0

14a5922..d53c40a 100644

meta-arm/conf/layer.conf +0 -0
@@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 

BBFILE_COLLECTIONS += "meta-arm"
BBFILE_PATTERN_meta-arm = "^${LAYERDIR}/"

meta-arm/conf/layer.conf +1 -1
-BBFILE_PRIORITY_meta-arm = "6"
+BBFILE_PRIORITY_meta-arm = "5"
Quoted 4 lines
LAYERDEPENDS_meta-arm = " \
    core \

--
2.26.2

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.