From: Zoltán Böszörményi Date: Sat, 14 Mar 2026 14:20:01 +0000 (+0100) Subject: libc-package, default-distrovars: Remove unsupported LOCALE_UTF8_ONLY X-Git-Tag: yocto-6.0_M3~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20d0db261249544e485c0af2b04eb6df7be28df7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libc-package, default-distrovars: Remove unsupported LOCALE_UTF8_ONLY ptest subpackages for various recipes added RDEPENDS for locales that do not exist when LOCALE_UTF8_ONLY is set to 1. This makes it clear that LOCALE_UTF8_ONLY=1 is untested in Yocto and became unsupported. Remove this distro variable. Signed-off-by: Zoltán Böszörményi Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/libc-package.bbclass b/meta/classes-recipe/libc-package.bbclass index c06a2ce90a..73b7f5a708 100644 --- a/meta/classes-recipe/libc-package.bbclass +++ b/meta/classes-recipe/libc-package.bbclass @@ -321,14 +321,11 @@ python package_do_split_gconvs () { bb.note("preparing tree for binary locale generation") bb.build.exec_func("do_prep_locale_tree", d) - utf8_only = int(d.getVar('LOCALE_UTF8_ONLY') or 0) utf8_is_default = int(d.getVar('LOCALE_UTF8_IS_DEFAULT') or 0) encodings = {} for locale in to_generate: charset = supported[locale] - if utf8_only and charset != 'UTF-8': - continue m = dot_re.match(locale) if m: diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index bbd936efa6..7adcdfad4f 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -10,7 +10,6 @@ DEFAULT_IMAGE_LINGUAS:libc-glibc = "c en-us en-gb" IMAGE_LINGUAS ?= "${DEFAULT_IMAGE_LINGUAS}" ENABLE_BINARY_LOCALE_GENERATION ?= "1" -LOCALE_UTF8_ONLY ?= "0" LOCALE_UTF8_IS_DEFAULT ?= "1" LOCALE_UTF8_IS_DEFAULT:class-nativesdk = "0"