aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@gmail.com>2014-12-05 15:40:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:17:48 +0000
commita56d726562c3b075d49125d206af56c829b3377b (patch)
tree6bdd02e1deecec6663bc97168c5b9c487a5841da
parent007144bdfb2dfb10e4b1794799f8b5aa6976266c (diff)
downloadopenembedded-core-contrib-a56d726562c3b075d49125d206af56c829b3377b.tar.gz
shadow: disable nscd feature when glibc is not built with spawn posix functions
shadow package configure step fails with this log output : | checking location of faillog/lastlog/wtmp... (cached) /var/log | checking location of the passwd program... (cached) /usr/bin | checking for posix_spawn... no | configure: error: posix_spawn is needed for nscd support | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed (From OE-Core rev: 3678e504cf81f45bd0b0ab315f9cc4da87a633b5) Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-extended/shadow/shadow.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 14c7281f53..bb3a927c17 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -60,6 +60,7 @@ NSCDOPT = ""
NSCDOPT_class-native = "--without-nscd"
NSCDOPT_class-nativesdk = "--without-nscd"
NSCDOPT_libc-uclibc = " --without-nscd"
+NSCDOPT_libc-glibc = "${@bb.utils.contains('DISTRO_FEATURES', 'libc-spawn', '--with-nscd', '--without-nscd', d)}"
PAM_PLUGINS = "libpam-runtime \
pam-plugin-faildelay \