[oe-commits] Baptiste DURAND : shadow: disable nscd feature when glibc is not built with spawn posix functions

git at git.openembedded.org git at git.openembedded.org
Fri Dec 19 18:09:04 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 3678e504cf81f45bd0b0ab315f9cc4da87a633b5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3678e504cf81f45bd0b0ab315f9cc4da87a633b5

Author: Baptiste DURAND <baptiste.durand at gmail.com>
Date:   Fri Dec  5 15:40:16 2014 +0100

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 at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-extended/shadow/shadow.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 14c7281..bb3a927 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 \



More information about the Openembedded-commits mailing list