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



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17410): 
https://lists.yoctoproject.org/g/meta-arago/message/17410
Mute This Topic: https://lists.yoctoproject.org/mt/118426471/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to