aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-inst.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-09 20:34:19 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-09 20:34:19 +0000
commitc825bdcb3e7a8cd3aa09e6e5d8a82d953d311987 (patch)
tree5937a886d52fcb4f4a2c71f25eb9bc2855d3535b /chapter05/glibc-inst.xml
parentadc232404fe4809a0bc34a183343e2b025c44b30 (diff)
Added minimum locales necessary for tests
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc-inst.xml')
-rw-r--r--chapter05/glibc-inst.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml
index 7e433d3db..b76027bc8 100644
--- a/chapter05/glibc-inst.xml
+++ b/chapter05/glibc-inst.xml
@@ -99,7 +99,23 @@ so we have to do that ourselves now:</para>
those locales which you need or want. This can be achieved by using the
<userinput>localedef</userinput> command. Information on this can be
found in the <filename>INSTALL</filename> file in the
-<filename>glibc-&glibc-version;</filename> tree.</para>
+<filename>glibc-&glibc-version;</filename> tree. However, there are a
+number of locales that are essential for the tests of future packages
+to pass correctly. The following instructions, in place of the
+install-locales command above, will install the minimum set of locales
+necessary for the tests to run successfully:</para>
+
+<para><screen><userinput>mkdir -p /stage1/lib/locale
+localedef -i de_DE -f ISO-8859-1 de_DE
+localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
+localedef -i en_HK -f ISO-8859-1 en_HK
+localedef -i en_PH -f ISO-8859-1 en_PH
+localedef -i en_US -f ISO-8859-1 en_US
+localedef -i es_MX -f ISO-8859-1 es_MX
+localedef -i fr_FR -f ISO-8859-1 fr_FR
+localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
+localedef -i it_IT -f ISO-8859-1 it_IT
+localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen></para>
</sect2>