aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r--chapter06/createfiles.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index ac2805597..8cb6175cb 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -56,7 +56,10 @@ done
for incdir in blkid libmount uuid libfdisk
do
ln -svf /tools/include/$incdir /usr/include
-done</userinput></screen>
+done
+
+mkdir -pv /tools/lib/locale
+ln -sv /usr/lib/locale/locale-archive /tools/lib/locale</userinput></screen>
<variablelist>
<title>The purpose of each link:</title>
@@ -200,6 +203,21 @@ done</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>
+ <filename>/tools/lib/locale/locale-archive</filename>
+ </parameter>
+ </term>
+ <listitem>
+ <para>Some programs built in chapter 5 look for installed
+ locale descriptions in this file. The locale descriptions will be
+ installed in <filename>/usr/lib/locale/locale-archive</filename>
+ after building the final glibc. The symlink allows those programs
+ to use the installed locales.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Historically, Linux maintains a list of the mounted file systems in the