From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <dmitry.baryshkov@oss.qualcomm.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc
Date: Thu, 19 Jun 2025 09:53:46 +0200 [thread overview]
Message-ID: <DAQCIVNY2M23.29XYUTYYDNS0L@bootlin.com> (raw)
In-Reply-To: <20250618212055.1529969-2-dmitry.baryshkov@oss.qualcomm.com>
On Wed Jun 18, 2025 at 11:20 PM CEST, Dmitry Baryshkov via lists.openembedded.org wrote:
> default-providers.inc already includes PREFERRED_PROVIDER values for
> xserver and GL libraries. Drop the same values being set in the machine
> config.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> meta/conf/machine/include/qemu.inc | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> index d7392d476238..c143e37f710e 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -1,10 +1,3 @@
> -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> -PREFERRED_PROVIDER_virtual/egl ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
> -
> XSERVER ?= "xserver-xorg \
> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
> xf86-video-fbdev \
This conflicts with your previous patch ("qemu.inc: handle GLVND-related
providers"). Should this one be refreshed to:
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 4fa18812db..c143e37f71 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -1,10 +1,3 @@
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-
XSERVER ?= "xserver-xorg \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
xf86-video-fbdev \
or should the first one be dropped?
Dropping the first one for testing for now.
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2025-06-19 7:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
2025-06-19 7:53 ` Antonin Godard [this message]
2025-06-19 8:55 ` [OE-core] " Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 3/8] qemux86: " Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 4/8] qemux86-64: " Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 5/8] libglvnd: migrate from meta-oe Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 6/8] mesa: enable glvnd if it is enabled in DISTRO_FEATURES Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 7/8] default-providers: handle GLVND-related providers Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
2025-06-18 21:35 ` Patchtest results for " patchtest
2025-06-19 10:31 ` Dmitry Baryshkov
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=DAQCIVNY2M23.29XYUTYYDNS0L@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox