]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Reduced number of generated locales.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 25 Jan 2009 19:28:54 +0000 (20:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 25 Jan 2009 19:28:54 +0000 (20:28 +0100)
lfs/glibc

index fe5211dbc9822a38eceeecb7477662fd4d9d2aba..e4630887ded9ef173bf00eb4baa6871a6020bed3 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -278,7 +278,13 @@ ifeq "$(STAGE)" "base"
        mv -v /usr/lib/{librpcsvc,librt,libutil}.a /usr/lib/static/
 
        # Locales
-       cd $(DIR_SRC)/glibc-build && make localedata/install-locales
+       -mkdir -pv /usr/lib/locale
+       # This would install all locales that are supported, but we do only
+       # install a minimal set of them
+       #cd $(DIR_SRC)/glibc-build && make localedata/install-locales
+       cd $(DIR_SRC)/glibc-build && localedef -i de_DE -f UTF-8 de_DE.UTF-8
+       cd $(DIR_SRC)/glibc-build && localedef -i en_US -f UTF-8 en_US.UTF-8
+       cd $(DIR_SRC)/glibc-build && localedef -i da_DK -f UTF-8 da_DK.UTF-8
 
        # Timezone
        cp -v --remove-destination /usr/share/zoneinfo/GMT /etc/localtime