Skip to contentSkip to conversation

bitbake.conf: Adds ipv6 to DISTRO_FEATURES_NATIVE

PATCH New Alejandro Hernandez 1 participant 1 message Oct 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Adds ipv6 to DISTRO_FEATURES_NATIVE

Before we introduced DISTRO_FEATURES_NATIVE on commit:
db1f1adace58763c35774e3fdfeaac5c3ca646fd

ipv6 was enabled by default on DISTRO_FEATURES via DISTRO_FEATURES_LIBC hence for example python-native was built with ipv6 support.

After this, ipv6 was automatically disabled on DISTRO_FEATURES.

On some packages (python) this may cause errors when they try to download something on their do_compile stage.

This patch adds ipv6 to DISTRO_FEATURES_NATIVE leaving it as it was before, to avoid errors like the one mentioned above

[YOCTO #11978]

---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index f41680b27e2..2af2fa5c59b 100644
@@ -807,7 +807,7 @@ IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}"
 
 # Native distro features (will always be used for -native, even if they
 # are not enabled for target)
-DISTRO_FEATURES_NATIVE ?= "x11"
+DISTRO_FEATURES_NATIVE ?= "x11 ipv6"
 DISTRO_FEATURES_NATIVESDK ?= "x11 libc-charsets libc-locales libc-locale-code"
 
 # Normally target distro features will not be applied to native builds:
Signature · 1 line
2.12.3