summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-07-03 10:36:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-05 15:41:53 +0100
commit7e768395622578b3bf944a91a1ac31022c11e245 (patch)
tree94d05ad52604069d0404e53af8a75a34129dfcb2
parent887ce3cef0f6d7fcbb136474e29958ba69a6a726 (diff)
downloadopenembedded-core-7e768395622578b3bf944a91a1ac31022c11e245.tar.gz
openembedded-core-7e768395622578b3bf944a91a1ac31022c11e245.tar.bz2
openembedded-core-7e768395622578b3bf944a91a1ac31022c11e245.zip
packagegroup-core-basic: Only build libpam if it's enabled
util-linux will check for the exisitance of pam header files and change what is built, so only build libpam when pam is enabled for DISTRO_FEATURES Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-basic.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
index e802a02aa2..dd3c45023c 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
@@ -108,7 +108,7 @@ RDEPENDS_packagegroup-core-multiuser = "\
cracklib \
gzip \
libuser \
- libpam \
+ ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
shadow \
sudo \
"