This is required only if systemd is enabled:
REQUIRED_DISTRO_FEATURES = "wayland
${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam',
'', d)}"
Please take a look at weston recipes which already have this.
Alex
On Fri, 19 Mar 2021 at 14:17, Martin Jansa <[email protected]> wrote:
> * 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']
>
> Signed-off-by: Martin Jansa <[email protected]>
> ---
> meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/packagegroups/
> packagegroup-core-weston.bb b/meta/recipes-graphics/packagegroups/
> packagegroup-core-weston.bb
> index 340c8e75ed..2614ddf410 100644
> --- a/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb
> +++ b/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb
> @@ -3,7 +3,7 @@ DESCRIPTION = "Packages required to set up a basic working
> Weston session"
> PR = "r1"
>
> inherit packagegroup features_check
> -REQUIRED_DISTRO_FEATURES = "wayland"
> +REQUIRED_DISTRO_FEATURES = "wayland pam"
>
> RDEPENDS_${PN} = "\
> weston \
> --
> 2.30.2
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#149677):
https://lists.openembedded.org/g/openembedded-core/message/149677
Mute This Topic: https://lists.openembedded.org/mt/81454865/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-