diff mbox series

[meta-lts-mixins,wrynose/linux-firmware,1/3] layer.conf: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE

Message ID 20260618155353.3633997-1-jose.quaresma@oss.qualcomm.com
State New
Headers show
Series [meta-lts-mixins,wrynose/linux-firmware,1/3] layer.conf: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE | expand

Commit Message

Jose Quaresma June 18, 2026, 3:53 p.m. UTC
In order to make this layer Yocto Project Compatible, the layer should not provide
new versions of packages by default. Because of this, the recipe provided in this
layer will not be used unless the LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
variable is modified.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
 conf/layer.conf | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index 5e1f7f2..59b9e0c 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -17,3 +17,6 @@  LAYERDEPENDS_lts-linux-firmware-mixin = " \
 
 # https://git.openembedded.org/openembedded-core/commit/?id=2b75c7ba5e3aa6fc57d7b4afe59e2277b4d87de1
 firmwaredir = "${nonarch_base_libdir}/firmware"
+
+# DEFAULT_PREFERENCE for linux-firmware provided by the layer
+LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE ?= "-1"