[OE-core] [PATCH 1/2] systemd: change default locale from C.UTF-8 to C

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 16 10:22:39 UTC 2019


On Tue, 2019-04-16 at 17:49 +0800, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
> 
> current default locale is set to C.UTF-8, but glibc not support
> locale C.UTF-8. so set to the default locale C.
> 
> [snip]
>         if not meson.is_cross_build()
>                 choose_default_locale_sh =
> find_program('tools/choose-default-locale.sh')
>                 default_locale =
> run_command(choose_default_locale_sh).stdout().strip()
>         else
>                 default_locale = 'C.UTF-8'
>         endif
> 
> if default locale set to C.UTF-8, it will cause libpcre ptest fail:
> 
>   re> //8+L
> ** Failed to set locale ""

Doesn't your second patch mean we don't need this one?

Cheers,

Richard



More information about the Openembedded-core mailing list