aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-26 12:25:21 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-26 12:25:21 +0000
commit59b66d792f68908b95b7d91d45d5573722d9ec82 (patch)
tree849b8c7b019ae786c8b90d36ce1e06d476927f16 /chapter06/createfiles.xml
parentda99f961a5959cf5a6c01660377df41b5168046c (diff)
Fix various test failures:
- bison and man-db: use a symlink: tools/share/locale->/usr/share/locale/locale-archive so that the installed locales are found by programs not yet installed in /usr - vim: upstade to 8.2.0814 (used for testing by several persons) - sed in automake, fixes one test - patch for gold: allows its testsuite to run - mount /dev/pts as --bind: foxes a test in coreutils - bash: use su << EOF instead of su -c, to keep a controlling terminal git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11859 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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