summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-07 13:52:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 14:50:10 +0000
commita097d29fb296b0720c42d4901c49a9a70f2d2e45 (patch)
treee1f570b87a97a123680e648fe87bcdc5775a8e07
parent5c850760bb29588a3152cfebb2dfce9f39527b71 (diff)
downloadpoky-a097d29fb296b0720c42d4901c49a9a70f2d2e45.tar.gz
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>
-rw-r--r--meta/recipes-extended/shadow/shadow.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 99ffac35d1..e59ff640e3 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -74,7 +74,8 @@ PAM_PLUGINS = "libpam-runtime \
74 pam-plugin-shells \ 74 pam-plugin-shells \
75 pam-plugin-rootok" 75 pam-plugin-rootok"
76 76
77PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" 77PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
78 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
78PACKAGECONFIG_class-native = "" 79PACKAGECONFIG_class-native = ""
79PACKAGECONFIG_class-nativesdk = "" 80PACKAGECONFIG_class-nativesdk = ""
80PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" 81PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}"