diff mbox series

[v1,2/2] mesa-gl: fix QA issue in do_package

Message ID 20260109123232.1199822-3-joaomarcos.costa@bootlin.com
State New
Headers show
Series mesa: fix build-time issues in Whinlatter and master | expand

Commit Message

Joao Marcos Costa Jan. 9, 2026, 12:32 p.m. UTC
Whenever 'vdpau' PACKAGECONFIG is enabled, a 'installed-vs-shipped'
error is raised. This happens because there is no
'mesa-gl-vdpau-drivers' package, even though a FILES:${PN}-vdpau-drivers
is defined.

Fix it by replacing the hardcoded package name in 'mesa-vdpau-drivers' by
'${PN}'.

Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Quentin Schulz Jan. 15, 2026, 11:42 a.m. UTC | #1
Hi João,

On 1/9/26 1:32 PM, Joao Marcos Costa via lists.openembedded.org wrote:
> Whenever 'vdpau' PACKAGECONFIG is enabled, a 'installed-vs-shipped'
> error is raised. This happens because there is no
> 'mesa-gl-vdpau-drivers' package, even though a FILES:${PN}-vdpau-drivers
> is defined.
> 
> Fix it by replacing the hardcoded package name in 'mesa-vdpau-drivers' by
> '${PN}'.
> 

Won't we have the same issue with mesa-tools?

Also, I would recommend splitting this series in two. It's not the same 
people handling master and stable releases.

Also, why do we only have some packages with the PN prefix? Why not 
mesa-megadriver and mesa-vulkan-drivers as well?

Cheers,
Quentin
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index a35dff3347..8fe8055d17 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -242,7 +242,7 @@  PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libopencl-mesa \
              libteflon \
              mesa-megadriver mesa-vulkan-drivers \
-             mesa-vdpau-drivers mesa-tools \
+             ${PN}-vdpau-drivers mesa-tools \
             "
 
 # For the packages that make up the OpenGL interfaces, inject variables so that