Skip to contentSkip to conversation

eglibc: nscd support depends on OPTION_EGLIBC_INET

PATCH In review Andrei Gherzan 2 participants 3 messages Aug 26, 2013 – Aug 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eglibc: nscd support depends on OPTION_EGLIBC_INET

Add --disable-nscd if DISTRO_FEATURES does not contain ipv4. This features is mapped to OPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to configure script). But nscd depends on OPTION_EGLIBC_INET, so compilation will fail if this option is not activated.

---
 meta/recipes-core/eglibc/eglibc_2.18.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/eglibc/eglibc_2.18.bb +1 -0
index 17b651f..771f3e7 100644
@@ -79,6 +79,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-selinux \
                 --enable-obsolete-rpc \
                 --with-kconfig=${STAGING_BINDIR_NATIVE} \
+                ${@base_contains('DISTRO_FEATURES', 'ipv4', '', '--disable-nscd', d)} \
                 ${GLIBC_EXTRA_OECONF}"
 
 EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 6 lines · Andrei Gherzan

Add --disable-nscd if DISTRO_FEATURES does not contain ipv4. This features is mapped to OPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to configure script). But nscd depends on OPTION_EGLIBC_INET, so compilation will fail if this option is not activated.

Does this also need the Package to be set for ALLOW_EMPTY?

Sau!

Quoted 18 lines
---
  meta/recipes-core/eglibc/eglibc_2.18.bb |    1 +
  1 file changed, 1 insertion(+)
meta/recipes-core/eglibc/eglibc_2.18.bb +1 -0
index 17b651f..771f3e7 100644
@@ -79,6 +79,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                  --without-selinux \
                  --enable-obsolete-rpc \
                  --with-kconfig=${STAGING_BINDIR_NATIVE} \
+                ${@base_contains('DISTRO_FEATURES', 'ipv4', '', '--disable-nscd', d)} \
                  ${GLIBC_EXTRA_OECONF}"
 
  EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
#2 lore raw
Quoted 11 lines · Saul Wold
Quoted 9 lines · Andrei Gherzan

Add --disable-nscd if DISTRO_FEATURES does not contain ipv4. This features is
mapped to OPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to
configure script). But nscd depends on OPTION_EGLIBC_INET, so compilation will
fail if this option is not activated.

Quoted 5 lines
Quoted 1 line

Does this also need the Package to be set for ALLOW_EMPTY?

Sau!

You're right. V2 is coming. Thanks.

Signature · 2 lines
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12