[meta-arm] arm/layer.conf: unify on a layer priority of 5

Submitted by Ross Burton on Aug. 12, 2020, 8:48 a.m. | Patch ID: 175241

Details

Message ID 20200812084803.3235721-1-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Aug. 12, 2020, 8:48 a.m.
From: Ross Burton <ross.burton@arm.com>

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
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm/conf/layer.conf b/meta-arm/conf/layer.conf
index 14a5922..d53c40a 100644
--- a/meta-arm/conf/layer.conf
+++ b/meta-arm/conf/layer.conf
@@ -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 \

Comments

Diego Sueiro Aug. 12, 2020, 8:51 a.m.
>-----Original Message-----
>From: meta-arm@lists.yoctoproject.org <meta-arm@lists.yoctoproject.org>
>On Behalf Of Ross Burton via lists.yoctoproject.org
>Sent: 12 August 2020 09:48
>To: meta-arm@lists.yoctoproject.org
>Subject: [meta-arm] [PATCH] arm/layer.conf: unify on a layer priority of 5
>
>From: Ross Burton <ross.burton@arm.com>
>
>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
>Signed-off-by: Ross Burton <ross.burton@arm.com>

Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>

>---
> meta-arm/conf/layer.conf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/meta-arm/conf/layer.conf b/meta-arm/conf/layer.conf index
>14a5922..d53c40a 100644
>--- a/meta-arm/conf/layer.conf
>+++ b/meta-arm/conf/layer.conf
>@@ -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 \
>--
>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.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1027): https://lists.yoctoproject.org/g/meta-arm/message/1027
Mute This Topic: https://lists.yoctoproject.org/mt/76143565/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-