diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-03-07 13:52:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-10 14:50:10 +0000 |
commit | a097d29fb296b0720c42d4901c49a9a70f2d2e45 (patch) | |
tree | e1f570b87a97a123680e648fe87bcdc5775a8e07 /meta/recipes-extended | |
parent | 5c850760bb29588a3152cfebb2dfce9f39527b71 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 3 |
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 | ||
77 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 77 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ |
78 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" | ||
78 | PACKAGECONFIG_class-native = "" | 79 | PACKAGECONFIG_class-native = "" |
79 | PACKAGECONFIG_class-nativesdk = "" | 80 | PACKAGECONFIG_class-nativesdk = "" |
80 | PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" | 81 | PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" |