[master][PATCH] mesa-demos: set default PREFERRED_VERSION

Denys Dmytriyenko <[email protected]> Mon, 20 Apr 2026 15:55:57 -0400
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
From: "Denys Dmytriyenko (TI)" <[email protected]>

Set default PREFERRED_VERSION for mesa-demos to use the version from
OE-Core when not using Arago distro. When Arago distro is used, it
gets changed to our version in arago-prefs.conf
This addresses the signature change issue in yocto-check-layer.

Signed-off-by: Denys Dmytriyenko (TI) <[email protected]>
---
 meta-arago-distro/conf/layer.conf                         | 2 ++
 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/conf/layer.conf b/meta-arago-distro/conf/l=
ayer.conf
index 2ad036f5..af3be2b9 100644
--- a/meta-arago-distro/conf/layer.conf
+++ b/meta-arago-distro/conf/layer.conf
@@ -39,3 +39,5 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS +=3D " \
 "
=20
 HOSTTOOLS_NONFATAL +=3D "corkscrew getent socket"
+
+PREFERRED_VERSION_mesa-demos =3D "9.0.0"
diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/=
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
index 2da3ceff..62cb0ee6 100644
--- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
+++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM =3D "file://src/xdemos/glxgears.c;begi=
nline=3D1;endline=3D20;md5=3Da481
 SRC_URI =3D "git://gitlab.freedesktop.org/mesa/demos.git;protocol=3Dhttp=
s;branch=3Dmain"
 SRCREV =3D "02eae079cb0b8186064d5b194ca4cc2995f099ee"
=20
-DEFAULT_PREFERENCE =3D "-1"
 PV =3D "9.0.0+git"
=20
 inherit meson pkgconfig features_check
--=20
2.35.3