aboutsummaryrefslogtreecommitdiffstats
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
parentadc232404fe4809a0bc34a183343e2b025c44b30 (diff)
Added minimum locales necessary for tests
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml2
-rw-r--r--chapter05/glibc-inst.xml18
-rw-r--r--chapter06/glibc-inst.xml18
3 files changed, 36 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 02fe901e8..2425ae63e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -82,6 +82,8 @@
</itemizedlist>
</para></listitem>
+<listitem><para>September 9th, 2003 [jeremy]: Glibc - Added commands to both chapter 5 and 6 to include minimum locales necessary for checks.</para></listitem>
+
<listitem><para>September 9th, 2003 [jeremy]: Chapter 6 - Removed zlib's
munging of CFLAGS in favor of a note to add -fPIC.</para></listitem>
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>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 4b6d42abf..b9cfcdea5 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -75,7 +75,23 @@ weren't installed by the above command. Do it with this:</para>
locales which you need or want. This can be achieved 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>
<para>Finally, build the linuxthreads man pages:</para>