summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-03-19 14:34:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-20 18:54:57 +0000
commit64bd40886d64a37769b8eed6e85c761b19e7b290 (patch)
tree3b2c891d0f5bc1f851152745bf105bffd424ba94
parentea8f03e2798de0b8bce8e58b1ee5543f456d9f98 (diff)
downloadpoky-contrib-64bd40886d64a37769b8eed6e85c761b19e7b290.tar.gz
poky-contrib-64bd40886d64a37769b8eed6e85c761b19e7b290.tar.bz2
poky-contrib-64bd40886d64a37769b8eed6e85c761b19e7b290.zip
packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES
* weston, weston-init, weston-examples require pam * fixes: ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-init' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-init'] ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'packagegroup-core-weston' NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-weston'] ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-examples' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-examples'] ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston'] (From OE-Core rev: 27cb44e83b4bc63484bbea9988701e9d9b3f7142) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb
index 340c8e75ed..7dcfd6733b 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb
@@ -3,7 +3,9 @@ DESCRIPTION = "Packages required to set up a basic working Weston session"
PR = "r1"
inherit packagegroup features_check
-REQUIRED_DISTRO_FEATURES = "wayland"
+
+# weston-init requires pam enabled if started via systemd
+REQUIRED_DISTRO_FEATURES = "wayland ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}"
RDEPENDS_${PN} = "\
weston \