aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2018-03-04 11:29:05 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-03-04 11:59:16 +0100
commit20862443b864e1abe94fa2bb81b7e70daf0a0f5f (patch)
treec4452995c5b5c5aad186c3bf70b77abe1e6483d7
parentc2a9358b6e7d1432856b05bddcab66723f9ea847 (diff)
downloadbuildroot-20862443b864e1abe94fa2bb81b7e70daf0a0f5f.tar.gz
buildroot-20862443b864e1abe94fa2bb81b7e70daf0a0f5f.tar.bz2
package/systemd: needs any UTF-8 locale
Not all distributions have the language-agnostic C.UTF-8 locale (Gentoo, I'm frowning at you!). Instead, use any UTF-8 locale provided by the system. Reported-by: Christian Stewart <kidovate@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Julius Kriukas <julius@kriukas.lt> Cc: Christian Stewart <kidovate@gmail.com> Cc: Trent Piepho <tpiepho@impinj.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/systemd/Config.in2
-rw-r--r--package/systemd/systemd.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 8978e3bac1..7b613df02c 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -27,7 +27,7 @@ menuconfig BR2_PACKAGE_SYSTEMD
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
select BR2_PACKAGE_KMOD_TOOLS
select BR2_TARGET_TZ_INFO
- select BR2_NEEDS_HOST_C_UTF8_LOCALE
+ select BR2_NEEDS_HOST_UTF8_LOCALE
help
systemd is a system and service manager for Linux,
compatible with SysV and LSB init scripts. systemd provides
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 22384c648b..8c22c08dd1 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -387,7 +387,7 @@ endef
SYSTEMD_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
-SYSTEMD_ENV = $(TARGET_MAKE_ENV) LANG=C.UTF-8 LC_ALL=C.UTF-8
+SYSTEMD_ENV = $(TARGET_MAKE_ENV) $(HOST_UTF8_LOCALE_ENV)
define SYSTEMD_CONFIGURE_CMDS
rm -rf $(@D)/build