aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-inst.xml
diff options
context:
space:
mode:
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>