All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] system: generate and set C.UTF-8 locale by default
@ 2022-05-17 19:24 James Hilliard
  2022-05-18 18:27 ` Arnout Vandecappelle
  2022-07-26 21:41 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: James Hilliard @ 2022-05-17 19:24 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

Now that glibc/localedef supports the C.UTF-8 locale we should default
to it as software like systemd generally expects it to be the locale
used.

This should in general reduce the amount of locale related
compatibility issues and is what many distros have been using for
their default locale for quite a few years so it should be a well
tested configuration.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 system/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/Config.in b/system/Config.in
index 888c24ce81..7cc529d31e 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -440,7 +440,7 @@ config BR2_ENABLE_LOCALE_PURGE
 
 config BR2_ENABLE_LOCALE_WHITELIST
 	string "Locales to keep"
-	default "C en_US"
+	default "C.UTF-8"
 	depends on BR2_ENABLE_LOCALE_PURGE
 	help
 	  Whitespace seperated list of locales to allow on target.
@@ -455,7 +455,7 @@ config BR2_ENABLE_LOCALE_WHITELIST
 
 config BR2_GENERATE_LOCALE
 	string "Generate locale data"
-	default ""
+	default "C.UTF-8"
 	depends on \
 		(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
 		BR2_TOOLCHAIN_USES_GLIBC
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-26 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-17 19:24 [Buildroot] [PATCH 1/1] system: generate and set C.UTF-8 locale by default James Hilliard
2022-05-18 18:27 ` Arnout Vandecappelle
2022-05-18 23:15   ` James Hilliard
2022-07-26 21:41 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.