Patch with a number of text fixes for the book. In particular, that note in the kernel page about GCC 2.95.3 is unneeded since the kernel documentation has now been updated.
Index: trunk/BOOK/chapter01/how.xml
===================================================================
--- trunk/BOOK/chapter01/how.xml        (revision 7683)
+++ trunk/BOOK/chapter01/how.xml        (working copy)
@@ -11,7 +11,7 @@
   <title>How to Build an LFS System</title>
 
   <para>The LFS system will be built by using a previously installed
-  Linux distribution (such as Debian, Mandrake, Red Hat, or SuSE). This
+  Linux distribution (such as Debian, Mandriva, Red Hat, or SuSE). This
   existing Linux system (the host) will be used as a starting point to
   provide necessary programs, including a compiler, linker, and shell,
   to build the new system. Select the <quote>development</quote> option
Index: trunk/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass2.xml  (revision 7683)
+++ trunk/BOOK/chapter05/gcc-pass2.xml  (working copy)
@@ -85,7 +85,7 @@
   &gt; gcc/Makefile.in</userinput></screen>
 
     <para>Apply the following patch to change the location of GCC's default
-    dynamiclinker (typically <filename
+    dynamic linker (typically <filename
     class="libraryfile">ld-linux.so.2</filename>):</para>
 
 <screen><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
Index: trunk/BOOK/chapter06/readline.xml
===================================================================
--- trunk/BOOK/chapter06/readline.xml   (revision 7683)
+++ trunk/BOOK/chapter06/readline.xml   (working copy)
@@ -86,7 +86,7 @@
 
     <para>Next, remove the <filename class="extension">.so</filename> files in
     <filename class="directory">/lib</filename> and relink them into <filename
-    class="directory">/usr/lib</filename>.</para>
+    class="directory">/usr/lib</filename>:</para>
 
 <screen><userinput>rm -v /lib/lib{readline,history}.so
 ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
Index: trunk/BOOK/chapter06/shadow.xml
===================================================================
--- trunk/BOOK/chapter06/shadow.xml     (revision 7683)
+++ trunk/BOOK/chapter06/shadow.xml     (working copy)
@@ -62,7 +62,7 @@
     </variablelist>
 
     <para>Disable the installation of the <command>groups</command> program
-    and its man page, as Coreutils provides a better version:</para>
+    and its man pages, as Coreutils provides a better version:</para>
 
 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
 find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen>
Index: trunk/BOOK/chapter06/findutils.xml
===================================================================
--- trunk/BOOK/chapter06/findutils.xml  (revision 7683)
+++ trunk/BOOK/chapter06/findutils.xml  (working copy)
@@ -71,7 +71,7 @@
     <command>find</command>.  As <filename class="directory">/usr</filename>
     may not be available during the early stages of booting, this program
     needs to be on the root partition.  The <command>updatedb</command>
-    script also needs to correct an explicit path.</para> 
+    script also needs to be modified to correct an explicit path:</para> 
 
 <screen><userinput>mv -v /usr/bin/find /bin</userinput>
 sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb</screen>
Index: trunk/BOOK/chapter06/udev.xml
===================================================================
--- trunk/BOOK/chapter06/udev.xml       (revision 7683)
+++ trunk/BOOK/chapter06/udev.xml       (working copy)
@@ -36,7 +36,7 @@
     <title>Installation of Udev</title>
 
     <para>The udev-config tarball contains LFS-specific files used to configure
-    Udev.</para>
+    Udev. Unpack it into the Udev source directory:</para>
 
 <screen><userinput>tar xf ../&udev-config;.tar.bz2</userinput></screen>
 
Index: trunk/BOOK/chapter06/creatingdirs.xml
===================================================================
--- trunk/BOOK/chapter06/creatingdirs.xml       (revision 7683)
+++ trunk/BOOK/chapter06/creatingdirs.xml       (working copy)
@@ -16,12 +16,12 @@
 <screen><userinput>mkdir -pv /{bin,boot,etc/opt,home,lib,mnt,opt}
 mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
 install -dv -m 0750 /root
-install -dv -m 1777 /tmp /var/tmp
+install -dv -m 1777 {/var,}/tmp
 mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
 mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
 mkdir -pv /usr/{,local/}share/man/man{1..8}
-for dir in /usr /usr/local; do
+for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
 mkdir -v /var/{lock,log,mail,run,spool}
Index: trunk/BOOK/chapter06/sysklogd.xml
===================================================================
--- trunk/BOOK/chapter06/sysklogd.xml   (revision 7683)
+++ trunk/BOOK/chapter06/sysklogd.xml   (working copy)
@@ -36,13 +36,13 @@
     <title>Installation of Sysklogd</title>
 
     <para>The following patch fixes various issues, including a problem 
building
-    Sysklogd with Linux 2.6 series kernels</para>
+    Sysklogd with Linux 2.6 series kernels:</para>
 
 <screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
 
     <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f 
range
     literally in the messages being logged, instead of replacing them with 
octal
-    codes. Unpatched sysklogd would damage messages in the UTF-8 
encoding.</para>
+    codes. Unpatched sysklogd would damage messages in the UTF-8 
encoding:</para>
 
 <screen><userinput>patch -Np1 -i ../&sysklogd-8bit-patch;</userinput></screen>
 
Index: trunk/BOOK/chapter08/kernel.xml
===================================================================
--- trunk/BOOK/chapter08/kernel.xml     (revision 7683)
+++ trunk/BOOK/chapter08/kernel.xml     (working copy)
@@ -76,15 +76,6 @@
     configuration menus and create the kernel configuration from
     scratch.</para>
 
-    <note>
-      <para>NPTL requires the kernel to be compiled with GCC-3.x or later, in
-      this case &gcc-version;. It is not recommended to compile the kernel with
-      GCC-2.95.x, as this causes failures in the Glibc test suite. Normally,
-      this wouldn't be mentioned as LFS doesn't build GCC-2.95.x. 
Unfortunately,
-      the kernel documentation is outdated and still claims GCC-2.95.3 is the
-      recommended compiler.</para>
-    </note>
-
     <para>Compile the kernel image and modules:</para>
 
 <screen><userinput>make</userinput></screen>
Index: branches/6.2/BOOK/chapter01/how.xml
===================================================================
--- branches/6.2/BOOK/chapter01/how.xml (revision 7683)
+++ branches/6.2/BOOK/chapter01/how.xml (working copy)
@@ -11,7 +11,7 @@
   <title>How to Build an LFS System</title>
 
   <para>The LFS system will be built by using a previously installed
-  Linux distribution (such as Debian, Mandrake, Red Hat, or SuSE). This
+  Linux distribution (such as Debian, Mandriva, Red Hat, or SuSE). This
   existing Linux system (the host) will be used as a starting point to
   provide necessary programs, including a compiler, linker, and shell,
   to build the new system. Select the <quote>development</quote> option
Index: branches/6.2/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- branches/6.2/BOOK/chapter05/gcc-pass2.xml   (revision 7683)
+++ branches/6.2/BOOK/chapter05/gcc-pass2.xml   (working copy)
@@ -85,7 +85,7 @@
   &gt; gcc/Makefile.in</userinput></screen>
 
     <para>Apply the following patch to change the location of GCC's default
-    dynamiclinker (typically <filename
+    dynamic linker (typically <filename
     class="libraryfile">ld-linux.so.2</filename>):</para>
 
 <screen><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
Index: branches/6.2/BOOK/chapter06/readline.xml
===================================================================
--- branches/6.2/BOOK/chapter06/readline.xml    (revision 7683)
+++ branches/6.2/BOOK/chapter06/readline.xml    (working copy)
@@ -86,7 +86,7 @@
 
     <para>Next, remove the <filename class="extension">.so</filename> files in
     <filename class="directory">/lib</filename> and relink them into <filename
-    class="directory">/usr/lib</filename>.</para>
+    class="directory">/usr/lib</filename>:</para>
 
 <screen><userinput>rm -v /lib/lib{readline,history}.so
 ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
Index: branches/6.2/BOOK/chapter06/shadow.xml
===================================================================
--- branches/6.2/BOOK/chapter06/shadow.xml      (revision 7683)
+++ branches/6.2/BOOK/chapter06/shadow.xml      (working copy)
@@ -62,7 +62,7 @@
     </variablelist>
 
     <para>Disable the installation of the <command>groups</command> program
-    and its man page, as Coreutils provides a better version:</para>
+    and its man pages, as Coreutils provides a better version:</para>
 
 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
 find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen>
Index: branches/6.2/BOOK/chapter06/findutils.xml
===================================================================
--- branches/6.2/BOOK/chapter06/findutils.xml   (revision 7683)
+++ branches/6.2/BOOK/chapter06/findutils.xml   (working copy)
@@ -71,7 +71,7 @@
     <command>find</command>.  As <filename class="directory">/usr</filename>
     may not be available during the early stages of booting, this program
     needs to be on the root partition.  The <command>updatedb</command>
-    script also needs to correct an explicit path.</para> 
+    script also needs to be modified to correct an explicit path:</para> 
 
 <screen><userinput>mv -v /usr/bin/find /bin</userinput>
 sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb</screen>
Index: branches/6.2/BOOK/chapter06/udev.xml
===================================================================
--- branches/6.2/BOOK/chapter06/udev.xml        (revision 7683)
+++ branches/6.2/BOOK/chapter06/udev.xml        (working copy)
@@ -36,7 +36,7 @@
     <title>Installation of Udev</title>
 
     <para>The udev-config tarball contains LFS-specific files used to configure
-    Udev.</para>
+    Udev. Unpack it into the Udev source directory:</para>
 
 <screen><userinput>tar xf ../&udev-config;.tar.bz2</userinput></screen>
 
Index: branches/6.2/BOOK/chapter06/creatingdirs.xml
===================================================================
--- branches/6.2/BOOK/chapter06/creatingdirs.xml        (revision 7683)
+++ branches/6.2/BOOK/chapter06/creatingdirs.xml        (working copy)
@@ -16,12 +16,12 @@
 <screen><userinput>mkdir -pv /{bin,boot,etc/opt,home,lib,mnt,opt}
 mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
 install -dv -m 0750 /root
-install -dv -m 1777 /tmp /var/tmp
+install -dv -m 1777 {/var,}/tmp
 mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
 mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
 mkdir -pv /usr/{,local/}share/man/man{1..8}
-for dir in /usr /usr/local; do
+for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
 mkdir -v /var/{lock,log,mail,run,spool}
Index: branches/6.2/BOOK/chapter06/sysklogd.xml
===================================================================
--- branches/6.2/BOOK/chapter06/sysklogd.xml    (revision 7683)
+++ branches/6.2/BOOK/chapter06/sysklogd.xml    (working copy)
@@ -36,13 +36,13 @@
     <title>Installation of Sysklogd</title>
 
     <para>The following patch fixes various issues, including a problem 
building
-    Sysklogd with Linux 2.6 series kernels</para>
+    Sysklogd with Linux 2.6 series kernels:</para>
 
 <screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
 
     <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f 
range
     literally in the messages being logged, instead of replacing them with 
octal
-    codes. Unpatched sysklogd would damage messages in the UTF-8 
encoding.</para>
+    codes. Unpatched sysklogd would damage messages in the UTF-8 
encoding:</para>
 
 <screen><userinput>patch -Np1 -i ../&sysklogd-8bit-patch;</userinput></screen>
 
Index: branches/6.2/BOOK/chapter08/kernel.xml
===================================================================
--- branches/6.2/BOOK/chapter08/kernel.xml      (revision 7683)
+++ branches/6.2/BOOK/chapter08/kernel.xml      (working copy)
@@ -76,15 +76,6 @@
     configuration menus and create the kernel configuration from
     scratch.</para>
 
-    <note>
-      <para>NPTL requires the kernel to be compiled with GCC-3.x or later, in
-      this case &gcc-version;. It is not recommended to compile the kernel with
-      GCC-2.95.x, as this causes failures in the Glibc test suite. Normally,
-      this wouldn't be mentioned as LFS doesn't build GCC-2.95.x. 
Unfortunately,
-      the kernel documentation is outdated and still claims GCC-2.95.3 is the
-      recommended compiler.</para>
-    </note>
-
     <para>Compile the kernel image and modules:</para>
 
 <screen><userinput>make</userinput></screen>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to