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-31 10:19:05 +0000 |
commit | 84d0b6fd98e258ccfc696dd1cc8ff5ee4d6cf693 (patch) | |
tree | 6f0b5773b2925fbc2cf0a35b770aff6d4ce0daf1 /meta | |
parent | 37ca92bb2ae613b889881738ab5644a571c1fec3 (diff) | |
download | poky-84d0b6fd98e258ccfc696dd1cc8ff5ee4d6cf693.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)
(From OE-Core rev: a56d726562c3b075d49125d206af56c829b3377b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 = "" | |||
60 | NSCDOPT_class-native = "--without-nscd" | 60 | NSCDOPT_class-native = "--without-nscd" |
61 | NSCDOPT_class-nativesdk = "--without-nscd" | 61 | NSCDOPT_class-nativesdk = "--without-nscd" |
62 | NSCDOPT_libc-uclibc = " --without-nscd" | 62 | NSCDOPT_libc-uclibc = " --without-nscd" |
63 | NSCDOPT_libc-glibc = "${@bb.utils.contains('DISTRO_FEATURES', 'libc-spawn', '--with-nscd', '--without-nscd', d)}" | ||
63 | 64 | ||
64 | PAM_PLUGINS = "libpam-runtime \ | 65 | PAM_PLUGINS = "libpam-runtime \ |
65 | pam-plugin-faildelay \ | 66 | pam-plugin-faildelay \ |