Message ID | 20220428125559.2994529-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/2] distro/poky-tiny: don't put translations into images | expand |
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:
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. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta-poky/conf/distro/poky-tiny.conf | 2 ++ 1 file changed, 2 insertions(+)