mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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 ""
(From OE-Core rev: 48f1521de8d16971e8021d7bf551f0b88f392f43)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8a781a727e
commit
0ad9bbaf9d
@@ -193,6 +193,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
|
||||
-Drootlibdir=${rootlibdir} \
|
||||
-Drootprefix=${rootprefix} \
|
||||
-Dsysvrcnd-path=${sysconfdir} \
|
||||
-Ddefault-locale=C \
|
||||
"
|
||||
|
||||
# Hardcode target binary paths to avoid using paths from sysroot
|
||||
|
||||
Reference in New Issue
Block a user