All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: meta-arago@lists.yoctoproject.org,
	"Denys Dmytriyenko (TI)" <denys@konsulko.com>
Subject: Re: [meta-arago] [master][PATCH] mesa-demos: set default PREFERRED_VERSION
Date: Tue, 21 Apr 2026 14:28:01 -0400	[thread overview]
Message-ID: <20260421182801.GE4186@denix.org> (raw)
In-Reply-To: <37e9ff17-ca6c-414f-ba39-84f763983ceb@ti.com>

On Tue, Apr 21, 2026 at 08:20:52AM -0500, Ryan Eatmon wrote:
> 
> 
> On 4/20/2026 2:55 PM, Denys Dmytriyenko wrote:
> >From: "Denys Dmytriyenko (TI)" <denys@konsulko.com>
> >
> >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.

Yes, this is correct and rather inconvenient. But lowering DEFAULT_PREFERENCE 
won't work here, as meta-arago-distro has a higher layer priority than OE-Core 
and hence supersedes the recipe's DEFAULT_PREFERENCE.

It's either keep track of the OE-Core version or convert the recipe to a 
bbappend, like you already did.

Specifically in this case it's not so bad - OE-Core has version 9.0.0 and 
Randolph's updated local version pulls additional commits that were merged 
after the release, making it 9.0.0+git. So, when a new version comes out and 
OE-Core updates the recipe, we would anyway need to remove our local version.


> Need to think on this.  Thanks for tracking down an alternative solution.
> 
> 
> >Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
> >---
> >  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


  reply	other threads:[~2026-04-21 18:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 19:55 [master][PATCH] mesa-demos: set default PREFERRED_VERSION Denys Dmytriyenko
2026-04-20 20:23 ` PRC Automation
2026-04-21 13:20 ` [meta-arago] " Ryan Eatmon
2026-04-21 18:28   ` Denys Dmytriyenko [this message]
2026-04-21 18:55     ` Ryan Eatmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260421182801.GE4186@denix.org \
    --to=denis@denix.org \
    --cc=denys@konsulko.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.