diff options
author | Baptiste DURAND <baptiste.durand@gmail.com> | 2014-12-05 15:40:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 17:54:13 +0000 |
commit | 3678e504cf81f45bd0b0ab315f9cc4da87a633b5 (patch) | |
tree | 6e29383eb893a76bdb98c6dacde34d3adb44d7ad /meta/recipes-extended/shadow | |
parent | 60e4c6ca148e736c947477da4ddcb5e7fdfb94f1 (diff) | |
download | openembedded-core-3678e504cf81f45bd0b0ab315f9cc4da87a633b5.tar.gz openembedded-core-3678e504cf81f45bd0b0ab315f9cc4da87a633b5.tar.bz2 openembedded-core-3678e504cf81f45bd0b0ab315f9cc4da87a633b5.zip |
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
Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 1 |
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 \ |