[oe-commits] [openembedded-core] 09/29: shadow: use config 'attr' if distro has 'xattr'

git at git.openembedded.org git at git.openembedded.org
Thu Mar 9 22:18:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a006d8000fd56f5f5d08835c2f800736831536f0
Author: José Bollo <jose.bollo at iot.bzh>
AuthorDate: Tue Mar 7 13:52:42 2017 +0100

    shadow: use config 'attr' if distro has 'xattr'
    
    When DISTRO_FEATURES has 'xattr' the shadow package
    now automatically activates its config 'attr'.
    
    Signed-off-by: José Bollo <jose.bollo at iot.bzh>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/shadow/shadow.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 99ffac3..e59ff64 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list