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

Ryan Eatmon <[email protected]> Fri, 20 Mar 2026 17:14:02 -0500
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
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 <[email protected]>
---
 .../packagegroups/packagegroup-arago-graphics-sdk-target.bb   | 2 +-
 .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

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 = "\
-- 
2.43.0