[meta-lts-mixins][wrynose/linux-firmware][PATCH 2/3] linux-firmware: set DEFAULT_PREFERENCE to "-1"

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. The easiest way to
achieve it is to set DEFAULT_PREFERENCE to "-1" for the new versions of
the recipes.

Signed-off-by: Dmitry Baryshkov <[email protected]>
---
 recipes-kernel/linux-firmware/linux-firmware_20260519.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-kernel/linux-firmware/linux-firmware_20260519.bb b/recipes-kernel/linux-firmware/linux-firmware_20260519.bb
index 7eb9bf35fbe3..f2cd8737f253 100644
--- a/recipes-kernel/linux-firmware/linux-firmware_20260519.bb
+++ b/recipes-kernel/linux-firmware/linux-firmware_20260519.bb
@@ -3692,3 +3692,6 @@ INSANE_SKIP:${PN} = "already-stripped"
 
 # No need to put firmware into the sysroot
 SYSROOT_DIRS_IGNORE += "${firmwaredir}"
+
+# Don't prefer it by default
+DEFAULT_PREFERENCE = "-1"

-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.