diff mbox series

[meta-arago,master,2/4] packagegroup-arago-graphics: Clean up check layer error

Message ID 20260320221404.3991734-2-reatmon@ti.com
State New
Headers show
Series [meta-arago,master,1/4] ti-test: Move libsdl2-tests inclusion behind guard | expand

Commit Message

Ryan Eatmon March 20, 2026, 10:14 p.m. UTC
The weston package has a DISTRO_FEATURE requirement for "pam".  The
recent change to the nodistro settings do not include pam.  Gate the
inclusion of these packages into the packagegroup only if pam is also
turned on.

This fixes some check layer errors.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../packagegroups/packagegroup-arago-graphics-sdk-target.bb   | 2 +-
 .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
index 8f760119..79e36c99 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
@@ -15,7 +15,7 @@  OPENGL_DEV = "\
 
 WAYLAND_DEV = "\
     wayland-dev \
-    weston-dev \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-dev", '', d)} \
 "
 
 RDEPENDS:${PN} = "\
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
index 9860037f..026281cb 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
@@ -7,8 +7,8 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 inherit packagegroup
 
 GFX_WAYLAND = "\
-    weston-init \
-    weston-examples \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-init", '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-examples", '', d)} \
 "
 
 OPENGL_PKGS = "\