aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2019-02-13 02:28:18 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2019-02-13 02:28:18 +0000
commit75828c36ccd065cca1236e0b5fc824e726d211b4 (patch)
tree9da948f1f17f5a9b3f107fc823b6dd089cd6eea3 /chapter06/glibc.xml
parentcd33c02f7e461357e9c7922ae23099436b17dbd9 (diff)
Add some locales and symlinks to avoid test errors.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11518 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index e7598fc14..aa85e0665 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -262,10 +262,12 @@ install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinp
locales necessary for the optimal coverage of tests:</para>
<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
+localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
localedef -i de_DE -f ISO-8859-1 de_DE
localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
localedef -i de_DE -f UTF-8 de_DE.UTF-8
+localedef -i el_GR -f ISO-8859-7 el_GR
localedef -i en_GB -f UTF-8 en_GB.UTF-8
localedef -i en_HK -f ISO-8859-1 en_HK
localedef -i en_PH -f ISO-8859-1 en_PH
@@ -279,10 +281,12 @@ localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
localedef -i it_IT -f ISO-8859-1 it_IT
localedef -i it_IT -f UTF-8 it_IT.UTF-8
localedef -i ja_JP -f EUC-JP ja_JP
+localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true
localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
-localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen>
+localedef -i zh_CN -f GB18030 zh_CN.GB18030
+localedef -i zh_HK -f BIG5-HKSCS zh_HK.BIG5-HKSCS</userinput></screen>
<para>In addition, install the locale for your own country, language and
character set.</para>