[meta-lts-mixins][wrynose/linux-firmware][PATCH 1/3] layer.conf: use the same priority as OE-Core
Dmitry Baryshkov <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- conf/layer.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.47.3