summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-04-16 17:49:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 23:30:19 +0100
commit0ad9bbaf9dc26848d8a0e8036129c3e7449c22bc (patch)
tree415987b0d98dcefb5cc89e9491bba3832ba2e952 /meta/recipes-core/systemd
parent8a781a727e08763244f97357680aebbf9a3eb911 (diff)
downloadpoky-0ad9bbaf9dc26848d8a0e8036129c3e7449c22bc.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_241.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_241.bb b/meta/recipes-core/systemd/systemd_241.bb
index 3a58f44a3b..a6deaf96c2 100644
--- a/meta/recipes-core/systemd/systemd_241.bb
+++ b/meta/recipes-core/systemd/systemd_241.bb
@@ -193,6 +193,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
193 -Drootlibdir=${rootlibdir} \ 193 -Drootlibdir=${rootlibdir} \
194 -Drootprefix=${rootprefix} \ 194 -Drootprefix=${rootprefix} \
195 -Dsysvrcnd-path=${sysconfdir} \ 195 -Dsysvrcnd-path=${sysconfdir} \
196 -Ddefault-locale=C \
196 " 197 "
197 198
198# Hardcode target binary paths to avoid using paths from sysroot 199# Hardcode target binary paths to avoid using paths from sysroot