]> code.ossystems Code Review - openembedded-core.git/commit
systemd: change default locale from C.UTF-8 to C
authorChangqing Li <changqing.li@windriver.com>
Tue, 16 Apr 2019 09:49:43 +0000 (17:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Apr 2019 22:30:10 +0000 (23:30 +0100)
commit48f1521de8d16971e8021d7bf551f0b88f392f43
tree0e5a55ac5b8a20f30b3420530e04940037abdd02
parent2b70ea6ca2c96fb233f42cfe5058cc89c9de5f82
systemd: change default locale from C.UTF-8 to C

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 ""

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_241.bb