bitbake.conf: Adds ipv6 to DISTRO_FEATURES_NATIVE

Before we introduced DISTRO_FEATURES_NATIVE on commit:
db1f1adace

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]

(From OE-Core rev: a09184bf47323b63d9548d17cc1e4e694cb605a9)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alejandro Hernandez 2017-10-09 11:42:40 -07:00 committed by Richard Purdie
parent acc23e16fe
commit 8333c0a54d

View File

@ -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: