summaryrefslogtreecommitdiffstats
path: root/meta-poky
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-04-28 13:55:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-30 07:34:20 +0100
commitd9dc50ccff39b91522d15258de28724dc0fb6a19 (patch)
tree3cf6c293fde8125360a4f9a8a6aa7822162c8279 /meta-poky
parenta0b8419a7ccd5715c6bdf37d044e910e81a6a315 (diff)
downloadpoky-d9dc50ccff39b91522d15258de28724dc0fb6a19.tar.gz
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>
Diffstat (limited to 'meta-poky')
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index 9c9f6f192f..2fe0d478ff 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -63,6 +63,8 @@ ENABLE_WIDEC:class-native = "true"
63# Drop native language support. This removes the 63# Drop native language support. This removes the
64# eglibc->bash->gettext->libc-posix-clang-wchar dependency. 64# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
65USE_NLS="no" 65USE_NLS="no"
66# As we don't have native language support, don't install locales into images
67IMAGE_LINGUAS = ""
66 68
67# Comment out any of the lines below to disable them in the build 69# Comment out any of the lines below to disable them in the build
68# DISTRO_FEATURES options: 70# DISTRO_FEATURES options: