[poky] [PATCH 1/2] local.conf.sample: Note extra variables required when disabling en_US locale
Joshua Lock
josh at linux.intel.com
Fri Nov 26 06:23:16 PST 2010
When changing which locales are generated for libc it may also be neccessary to
change IMAGE_LINGUAS and LIMIT_BUILT_LOCALES
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
meta/conf/local.conf.sample | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index fae949c..4ba250d 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -158,8 +158,13 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
# wish to perform the time-consuming step of generating all LIBC locales.
+# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
+# appropriate values for IMAGE_LINGUAS and LIMIT_BUILT_LOCALES
# WARNING: this may break localisation!
-#GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
+#GLIBC_GENERATE_LOCALES = "en_GB.UTF-8"
+# See message above as to whether setting these is required
+#IMAGE_LINGUAS ?= "en-gb"
+#LIMIT_BUILT_LOCALES ?= "POSIX en_GB"
# Default to not build 32 bit libs on 64 bit systems, comment this
# out if that is desired
--
1.7.3.2
More information about the poky
mailing list