Re: [meta-arago] [master][PATCH] mesa-demos: set default PREFERRED_VERSION

Ryan Eatmon <[email protected]> Tue, 21 Apr 2026 08:20:52 -0500
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>

On 4/20/2026 2:55 PM, Denys Dmytriyenko wrote:
> 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.

This means we have to stay on top of this change for when they change 
the version from 9.0.0 to something else.  We will be preferring a 
version that no longer exists.

Need to think on this.  Thanks for tracking down an alternative solution.


> 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/layer.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 += " \
>   "
>   
>   HOSTTOOLS_NONFATAL += "corkscrew getent socket"
> +
> +PREFERRED_VERSION_mesa-demos = "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 = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481
>   SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>   SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>   
> -DEFAULT_PREFERENCE = "-1"
>   PV = "9.0.0+git"
>   
>   inherit meson pkgconfig features_check

-- 
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS