arm/layer.conf: unify on a layer priority of 5
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.
--- meta-arm/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/conf/layer.conf +1 -1
@@ -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
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 5From: 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 I6de7a6b493e71b8b88862018b9fa35608342c1b2Signed-off-by Ross Burton <[email protected]>
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
-014a5922..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.