From: "José Bollo" <jose.bollo@iot.bzh>
To: poky@yoctoproject.org
Subject: [PATCH] shadow: use config 'attr' if distro has 'xattr'
Date: Mon, 6 Mar 2017 18:50:49 +0100 [thread overview]
Message-ID: <20170306185049.421a2ba0@d-jobol.iot.bzh> (raw)
When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.
The current implmentation is a copy of what is
made currently for libcap.
Change-Id: Ie2a8469bc18b8ca7a067caf83413a28f8bcfbc84
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
---
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}"
--
2.9.3
next reply other threads:[~2017-03-06 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-06 17:50 José Bollo [this message]
2017-03-06 19:35 ` [PATCH] shadow: use config 'attr' if distro has 'xattr' Burton, Ross
2017-03-07 12:52 jobol
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170306185049.421a2ba0@d-jobol.iot.bzh \
--to=jose.bollo@iot.bzh \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.