mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
distro/poky-tiny: don't put translations into images
IMAGE_LINGUAS has a default value, "en-us en-gb" in default-distrovars.inc and "de-de fr-fr en-gb" in image.bbclass. However, poky-tiny sets USE_NLS=no so IMAGE_LINGUAS can't really be used in a tiny context, and previously musl hasn't supported locales so this hasn't been a problem. However, now that musl-locales exists, poky-tiny images will try to pull in translations. As we've disabled NLS these simply take up disk space and cannot be used, and currently musl-locales fails to build if USE_NLS=no. Set IMAGE_LINGUAS to "" in poky-tiny.conf so that images don't have locales added. (From meta-yocto rev: 50bb58035f0158e388019e731126e630307b69dc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a0b8419a7c
commit
d9dc50ccff
|
@ -63,6 +63,8 @@ ENABLE_WIDEC:class-native = "true"
|
|||
# Drop native language support. This removes the
|
||||
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
|
||||
USE_NLS="no"
|
||||
# As we don't have native language support, don't install locales into images
|
||||
IMAGE_LINGUAS = ""
|
||||
|
||||
# Comment out any of the lines below to disable them in the build
|
||||
# DISTRO_FEATURES options:
|
||||
|
|
Loading…
Reference in New Issue
Block a user