1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

shadow: use config 'attr' if distro has 'xattr'

When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.

(From OE-Core rev: 860c941741ca57bdc6fdbb67ea3ad94bb8d08c16)

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
José Bollo
2017-03-07 13:52:42 +01:00
committed by Richard Purdie
parent 5c850760bb
commit a097d29fb2
+2 -1
View File
@@ -74,7 +74,8 @@ PAM_PLUGINS = "libpam-runtime \
pam-plugin-shells \
pam-plugin-rootok"
PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
PACKAGECONFIG_class-native = ""
PACKAGECONFIG_class-nativesdk = ""
PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}"