mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
37ca92bb2a
commit
84d0b6fd98
@@ -60,6 +60,7 @@ NSCDOPT = ""
|
|||||||
NSCDOPT_class-native = "--without-nscd"
|
NSCDOPT_class-native = "--without-nscd"
|
||||||
NSCDOPT_class-nativesdk = "--without-nscd"
|
NSCDOPT_class-nativesdk = "--without-nscd"
|
||||||
NSCDOPT_libc-uclibc = " --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_PLUGINS = "libpam-runtime \
|
||||||
pam-plugin-faildelay \
|
pam-plugin-faildelay \
|
||||||
|
|||||||
Reference in New Issue
Block a user