From d9dc50ccff39b91522d15258de28724dc0fb6a19 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 28 Apr 2022 13:55:58 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta-poky/conf/distro/poky-tiny.conf | 2 ++ 1 file changed, 2 insertions(+) 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" # 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: -- cgit v1.2.3-54-g00ecf