diff mbox series

[meta-lts-mixins,wrynose/linux-firmware,1/3] layer.conf: use the same priority as OE-Core

Message ID 20260617-fix-check-layers-v1-1-d1b60c899440@oss.qualcomm.com
State New
Headers show
Series layer: make it Yocto Project compliant | expand

Commit Message

Dmitry Baryshkov June 17, 2026, 7:21 p.m. UTC
In order to make this layer Yocto Project Compatible, the layer should
not provide new versions of packages by default. This can be achieved
by setting DEFAULT_PREFERENCE to "-1". But for that to work, the layer
should have the same priority as the one normally providing those
recipes. Drop BBFILE_PRIORITY to "5", the same one as used by OE Core.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 conf/layer.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index a9d664e55df0..5e1f7f223cc7 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -6,7 +6,8 @@  BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "lts-linux-firmware-mixin"
 BBFILE_PATTERN_lts-linux-firmware-mixin = "^${LAYERDIR}/"
-BBFILE_PRIORITY_lts-linux-firmware-mixin = "6"
+# Use the same priority as OE-Core so that DEFAULT_PREFERENCE works
+BBFILE_PRIORITY_lts-linux-firmware-mixin = "5"
 
 LAYERSERIES_COMPAT_lts-linux-firmware-mixin = "wrynose"