On Mon, 2023-01-02 at 22:47 +0000, Alex Kiernan wrote:
> glibc 2.35 introduced C.UTF-8, we should include this by default.
>
> Signed-off-by: Alex Kiernan <[email protected]>
> ---
>
> meta/conf/distro/include/default-distrovars.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/conf/distro/include/default-distrovars.inc
> b/meta/conf/distro/include/default-distrovars.inc
> index abf48f79f08a..5324bd543d22 100644
> --- a/meta/conf/distro/include/default-distrovars.inc
> +++ b/meta/conf/distro/include/default-distrovars.inc
> @@ -5,6 +5,8 @@ KERNEL_CONSOLE ?= "ttyS0"
> KEEPUIMAGE ??= "yes"
>
> IMAGE_LINGUAS ?= "en-us en-gb"
> +IMAGE_LINGUAS:libc-glibc ?= "c en-us en-gb"
> +
> ENABLE_BINARY_LOCALE_GENERATION ?= "1"
> LOCALE_UTF8_ONLY ?= "0"
> LOCALE_UTF8_IS_DEFAULT ?= "1"
I suspect this will catch people out since if someone does:
IMAGE_LINGUAS = "xxx"
then it won't work for glibc due to the override. I suspect what we
need will be more like:
DEFAULT_IMAGE_LINGUAS = "en-us en-gb"
DEFAULT_IMAGE_LINGUAS:libc-glibc = "c en-us en-gb"
IMAGE_LINGUAS ?= "${DEFAULT_IMAGE_LINGUAS}"
?
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175330):
https://lists.openembedded.org/g/openembedded-core/message/175330
Mute This Topic: https://lists.openembedded.org/mt/96018045/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-