cvs commit: LFS/BOOK/chapter09 chapter09.xml reboot.xml

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Mon May 3 14:28:58 PDT 2004


winkie      04/05/03 15:28:58

  Modified:    BOOK     Makefile general.ent index.xml
               BOOK/chapter01 changelog.xml chapter01.xml
               BOOK/chapter02 chapter02.xml
               BOOK/chapter03 chapter03.xml packages.xml patches.xml
               BOOK/chapter04 chapter04.xml
               BOOK/chapter05 bash.xml binutils-pass2.xml bzip2.xml
                        chapter05.xml gcc-pass1.xml gcc-pass2.xml
                        gettext.xml glibc.xml kernel-headers.xml perl.xml
                        util-linux.xml
               BOOK/chapter06 bash.xml binutils.xml bison.xml bzip2.xml
                        chapter06.xml coreutils.xml creatingdirs.xml
                        e2fsprogs.xml findutils.xml flex.xml gcc.xml
                        glibc.xml grub.xml inetutils.xml kbd.xml
                        net-tools.xml psmisc.xml pwdgroup.xml shadow.xml
                        sysklogd.xml util-linux.xml vim.xml
               BOOK/chapter07 bootscripts.xml chapter07.xml
               BOOK/chapter08 chapter08.xml fstab.xml grub.xml kernel.xml
               BOOK/chapter09 chapter09.xml reboot.xml
  Added:       BOOK/chapter05 bison.xml flex.xml hostreqs.xml
                        linux-libc-headers.xml m4.xml udev.xml
               BOOK/chapter06 devices.xml kernfs.xml linux-libc-headers.xml
                        module-init-tools.xml udev.xml
  Removed:     BOOK/chapter06 ed.xml gcc-2953.xml kernel-headers.xml
                        makedev.xml modutils.xml proc.xml procinfo.xml
  Log:
  Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
  
  Revision  Changes    Path
  1.3       +1 -1      LFS/BOOK/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/Makefile,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile	3 May 2004 20:19:11 -0000	1.2
  +++ Makefile	3 May 2004 21:28:56 -0000	1.3
  @@ -1,4 +1,4 @@
  -BASEDIR=~/lfs-book
  +BASEDIR=~/belfs-book
   
   lfs:
   	xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR)/ \
  
  
  
  1.3       +9 -11     LFS/BOOK/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/general.ent,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- general.ent	3 May 2004 20:13:13 -0000	1.2
  +++ general.ent	3 May 2004 21:28:56 -0000	1.3
  @@ -1,7 +1,7 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <!ENTITY version "CVS-2004-05-03">
   <!ENTITY releasedate "May 3, 2004">
  -<!ENTITY milestone "5.1">
  +<!ENTITY milestone "6.0">
   
   <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
   <!ENTITY blfs-root "&lfs-root;blfs/">
  @@ -19,24 +19,22 @@
   <!ENTITY autoconf-version "2.59">
   <!ENTITY automake-version "1.8.4">
   <!ENTITY bash-version "2.05b">
  -<!ENTITY binutils-version "2.14">
  -<!ENTITY bison-version "1.875">
  +<!ENTITY binutils-version "2.15.90.0.3">
  +<!ENTITY bison-version "1.875a">
   <!ENTITY bootscripts-version "2.0.4">
   <!ENTITY bzip2-version "1.0.2">
   <!ENTITY coreutils-version "5.2.1">
   <!ENTITY dejagnu-version "1.4.4">
   <!ENTITY diffutils-version "2.8.1">
   <!ENTITY e2fsprogs-version "1.35">
  -<!ENTITY ed-version "0.2">
   <!ENTITY expect-version "5.41.0">
   <!ENTITY file-version "4.09">
   <!ENTITY findutils-version "4.1.20">
  -<!ENTITY flex-version "2.5.4a">
  +<!ENTITY flex-version "2.5.31">
   <!ENTITY gawk-version "3.1.3">
  -<!ENTITY gcc-2953-version "2.95.3">
   <!ENTITY gcc-version "3.3.3">
   <!ENTITY gettext-version "0.14.1">
  -<!ENTITY glibc-version "2.3.3">
  +<!ENTITY glibc-version "2.3.4-20040408">
   <!ENTITY grep-version "2.5.1">
   <!ENTITY groff-version "1.19">
   <!ENTITY grub-version "0.94">
  @@ -46,19 +44,18 @@
   <!ENTITY kbd-version "1.12">
   <!ENTITY less-version "382">
   <!ENTITY libtool-version "1.5.6">
  -<!ENTITY linux-version "2.4.26">
  +<!ENTITY linux-version "2.6.5">
  +<!ENTITY linux-libc-headers-version "2.6.5.1">
   <!ENTITY m4-version "1.4">
  -<!ENTITY makedev-version "1.2">
   <!ENTITY make-version "3.80">
   <!ENTITY man-version "1.5m2">
   <!ENTITY man-pages-version "1.66">
   <!ENTITY mktemp-version "1.5">
  -<!ENTITY modutils-version "2.4.27">
  +<!ENTITY module-init-tools-version "3.0">
   <!ENTITY ncurses-version "5.4">
   <!ENTITY net-tools-version "1.60">
   <!ENTITY patch-version "2.5.4">
   <!ENTITY perl-version "5.8.4">
  -<!ENTITY procinfo-version "18">
   <!ENTITY procps-version "3.2.1">
   <!ENTITY psmisc-version "21.4">
   <!ENTITY sed-version "4.0.9">
  @@ -69,5 +66,6 @@
   <!ENTITY tcl-version "8.4.6">
   <!ENTITY texinfo-version "4.7">
   <!ENTITY util-linux-version "2.12a">
  +<!ENTITY udev-version "025">
   <!ENTITY vim-version "6.2">
   <!ENTITY zlib-version "1.2.1">
  
  
  
  1.700     +0 -17     LFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/index.xml,v
  retrieving revision 1.699
  retrieving revision 1.700
  diff -u -r1.699 -r1.700
  --- index.xml	3 May 2004 10:33:11 -0000	1.699
  +++ index.xml	3 May 2004 21:28:56 -0000	1.700
  @@ -6,10 +6,7 @@
   <book>
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/bookinfo.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/dedication.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/preface.xml"/>
   
   
  @@ -17,38 +14,24 @@
   <title>Introduction</title>
   <?dbhtml filename="part1.html"?>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter01/chapter01.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter02/chapter02.xml"/>
  -
   </part>
   
   <part id="part2">
   <title>Preparing for the build</title>
   <?dbhtml filename="part2.html"?>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter03/chapter03.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter04/chapter04.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter05/chapter05.xml"/>
  -
  -
   </part>
   
   <part id="part3">
   <title>Building the LFS system</title>
   <?dbhtml filename="part3.html"?>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter06/chapter06.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter07/chapter07.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter08/chapter08.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chapter09/chapter09.xml"/>
  -
  -
   </part>
   
   <index/>
  
  
  
  1.741     +24 -5     LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.740
  retrieving revision 1.741
  diff -u -r1.740 -r1.741
  --- changelog.xml	3 May 2004 10:59:40 -0000	1.740
  +++ changelog.xml	3 May 2004 21:28:56 -0000	1.741
  @@ -21,20 +21,23 @@
   <itemizedlist>
   <listitem><para>autoconf-2.59</para></listitem>
   <listitem><para>automake-1.8.4</para></listitem>
  +<listitem><para>binutils-2.15.90.0.3</para></listitem>
  +<listitem><para>bison-1.875a</para></listitem>
   <listitem><para>coreutils-5.2.1</para></listitem>
   <listitem><para>e2fsprogs-1.35</para></listitem>
   <listitem><para>expect-5.41.0</para></listitem>
   <listitem><para>file-4.09</para></listitem>
  +<listitem><para>flex-2.5.31</para></listitem>
   <listitem><para>gcc-3.3.3</para></listitem>
   <listitem><para>gettext-0.14.1</para></listitem>
  +<listitem><para>glibc-2.3.4-20040408</para></listitem>
   <listitem><para>grub-0.94</para></listitem>
   <listitem><para>kbd-1.12</para></listitem>
   <listitem><para>less-382</para></listitem>
   <listitem><para>lfs-bootscripts-2.0.4</para></listitem>
   <listitem><para>libtool-2.5.6</para></listitem>
  -<listitem><para>linux-2.4.26</para></listitem>
  +<listitem><para>linux-2.6.5</para></listitem>
   <listitem><para>man-pages-1.66</para></listitem>
  -<listitem><para>modutils-2.4.27</para></listitem>
   <listitem><para>ncurses-5.4</para></listitem>
   <listitem><para>perl-5.8.4</para></listitem>
   <listitem><para>procps-3.2.1</para></listitem>
  @@ -50,28 +53,44 @@
   
   <listitem><para>Added:</para>
   <itemizedlist>
  +<listitem><para>flex-2.5.31-debian-fixes-2.patch</para></listitem>
   <listitem><para>iana-etc-1.00</para></listitem>
  +<listitem><para>inetutils-1.4.2-kernel-headers-1.patch</para></listitem>
   <listitem><para>inetutils-1.4.2-no_server_man_pages-1.patch</para></listitem>
  -<listitem><para>make_devices-1.2</para></listitem>
  -<listitem><para>mktemp-1.5 + mktemp-1.5-add-tempfile.patch</para></listitem>
  +<listitem><para>linux-libc-headers-2.6.5.1</para></listitem>
  +<listitem><para>mktemp-1.5</para></listitem>
  +<listitem><para>mktemp-1.5-add-tempfile-1.patch</para></listitem>
  +<listitem><para>module-init-tools-3.0</para></listitem>
  +<listitem><para>net-tools-1.60-kernel-headers-1.patch</para></listitem>
  +<listitem><para>sysklogd-1.4.1-kernel-headers-1.patch</para></listitem>
  +<listitem><para>udev-025</para></listitem>
  +<listitem><para>udev-025-config-1.patch</para></listitem>
  +<listitem><para>util-linux-2.12a-kernel-headers-1.patch</para></listitem>
   </itemizedlist>
   </listitem>
    
   <listitem><para>Removed:</para>
   <itemizedlist>
  +<listitem><para>bison-1.875-attribute.patch</para></listitem>
  +<listitem><para>ed-0.2</para></listitem>
  +<listitem><para>gcc-2.95.3</para></listitem>
   <listitem><para>gcc-3.3.1-suppress-libiberty.patch</para></listitem>
  +<listitem><para>kbd-1.12-more-programs-1.patch</para></listitem>
   <listitem><para>lfs-utils-0.5</para></listitem>
   <listitem><para>MAKEDEV-1.7</para></listitem>
   <listitem><para>man-1.5m2-manpath.patch</para></listitem>
   <listitem><para>man-1.5m2-pager.patch</para></listitem>
  +<listitem><para>modutils-2.4.25</para></listitem>
   <listitem><para>ncurses-5.3-etip-2.patch</para></listitem>
   <listitem><para>ncurses-5.3-vsscanf.patch</para></listitem>
  -<listitem><para>perl-5.8.0-libc-3.patch</para></listitem>
  +<listitem><para>procinfo-18</para></listitem>
   <listitem><para>procps-3.1.11-locale-fix.patch</para></listitem>
   <listitem><para>shadow-4.0.3-newgrp-fix.patch</para></listitem>
   <listitem><para>zlib-1.1.4-vsnprintf.patch</para></listitem>
   </itemizedlist>
   </listitem>
  +
  +<listitem><para>May 3rd, 2004 [winkie]: Merged BE-LFS content.</para></listitem>
   
   <listitem><para>May 2nd, 2004 [matt]: Quoted chroot commands in chapter 6 (bug
   #818).</para></listitem>
  
  
  
  1.18      +0 -5      LFS/BOOK/chapter01/chapter01.xml
  
  Index: chapter01.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/chapter01.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- chapter01.xml	3 May 2004 10:59:40 -0000	1.17
  +++ chapter01.xml	3 May 2004 21:28:56 -0000	1.18
  @@ -9,13 +9,8 @@
   <?dbhtml filename="chapter01.html"?>
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="how.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="changelog.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="administrativa.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="askforhelp.xml"/>
   
   </chapter>
  
  
  
  1.19      +0 -8      LFS/BOOK/chapter02/chapter02.xml
  
  Index: chapter02.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter02/chapter02.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- chapter02.xml	3 May 2004 10:59:40 -0000	1.18
  +++ chapter02.xml	3 May 2004 21:28:56 -0000	1.19
  @@ -8,17 +8,9 @@
   <title>Preparing a new partition</title>
   <?dbhtml filename="chapter02.html"?>
   
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingpartition.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingfilesystem.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mounting.xml"/>
  -
   
   </chapter>
  
  
  
  1.17      +0 -5      LFS/BOOK/chapter03/chapter03.xml
  
  Index: chapter03.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter03/chapter03.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- chapter03.xml	3 May 2004 10:59:40 -0000	1.16
  +++ chapter03.xml	3 May 2004 21:28:56 -0000	1.17
  @@ -8,13 +8,8 @@
   <title>The materials: packages and patches</title>
   <?dbhtml filename="chapter03.html"?>
   
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="packages.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patches.xml"/>
   
   </chapter>
  
  
  
  1.2       +26 -46    LFS/BOOK/chapter03/packages.xml
  
  Index: packages.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter03/packages.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- packages.xml	3 May 2004 10:59:40 -0000	1.1
  +++ packages.xml	3 May 2004 21:28:56 -0000	1.2
  @@ -20,10 +20,10 @@
   <ulink url="&freshmeat;gnubash/"/>
   
   Binutils (&binutils-version;) - 10,666 KB:
  -<ulink url="&freshmeat;binutils/"/>
  +<ulink url="ftp://ftp.kernel.org/pub/linux/devel/binutils/"/>
   
   Bison (&bison-version;) - 796 KB:
  -<ulink url="&freshmeat;bison/"/>
  +<ulink url="http://ftp.tuniv.szczecin.pl/pub/Linux/alpha-gnu/bison/"/>
   
   Bzip2 (&bzip2-version;) - 650 KB:
   <ulink url="&freshmeat;bzip2/"/>
  @@ -40,9 +40,6 @@
   E2fsprogs (&e2fsprogs-version;) - 3,003 KB:
   <ulink url="&freshmeat;e2fsprogs/"/>
   
  -Ed (&ed-version;) - 182 KB:
  -<ulink url="&freshmeat;ed/"/>
  -
   Expect (&expect-version;) - 510 KB:
   <ulink url="&freshmeat;expect/"/>
   
  @@ -53,21 +50,12 @@
   <ulink url="&freshmeat;findutils/"/>
   
   Flex (&flex-version;) - 372 KB:
  -<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/>
  +<ulink url="&freshmeat;flex/"/>
   
   Gawk (&gawk-version;) - 1,596 KB:
   <ulink url="&freshmeat;gnuawk/"/>
   
  -GCC (&gcc-2953-version;) - 9,618 KB:
  -<ulink url="&freshmeat;gcc/"/>
  -
  -GCC-core (&gcc-version;) - 11,283KB:
  -<ulink url="&freshmeat;gcc/"/>
  -
  -GCC-g++ (&gcc-version;) - 2,026 KB:
  -<ulink url="&freshmeat;gcc/"/>
  -
  -GCC-testsuite (&gcc-version;) - 1,051 KB:
  +GCC (&gcc-version;) - ~27,000KB:
   <ulink url="&freshmeat;gcc/"/>
   
   Gettext (&gettext-version;) - 6,397 KB:
  @@ -101,7 +89,7 @@
   <ulink url="&freshmeat;less/"/>
   
   LFS-Bootscripts (&bootscripts-version;) - 32 KB:
  -<ulink url="&http-down;"/>
  +<ulink url="http://www.linuxfromscratch.org/~nathan/"/>
   
   Libtool (&libtool-version;) - 2,602 KB:
   <ulink url="&freshmeat;libtool/"/>
  @@ -109,15 +97,15 @@
   Linux (&linux-version;) - 30,051 KB:
   <ulink url="&freshmeat;linux/"/>
   
  +Linux-Libc-Headers (&linux-libc-headers-version;) - 2,381 KB:
  +<ulink url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/"/>
  +
   M4 (&m4-version;) - 310 KB:
   <ulink url="&freshmeat;gnum4/"/>
   
   Make (&make-version;) - 899 KB:
   <ulink url="&freshmeat;gnumake/"/>
   
  -Make_devices (&makedev-version;) - 20 KB:
  -<ulink url="&lfs-root;~alex/make_devices-1.2.bz2"/>
  -
   Man (&man-version;) - 196 KB:
   <ulink url="&freshmeat;man/"/>
   
  @@ -127,8 +115,8 @@
   Mktemp (&mktemp-version;) - 69 KB:
   <ulink url="&freshmeat;mktemp/"/>
   
  -Modutils (&modutils-version;) - 229 KB:
  -<ulink url="&freshmeat;modutils/"/>
  +Module-Init-Tools (&module-init-tools-version;) - 118 KB:
  +<ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/"/>
   
   Ncurses (&ncurses-version;) - 2,019 KB:
   <ulink url="&freshmeat;ncurses/"/>
  @@ -142,9 +130,6 @@
   Perl (&perl-version;) - 9,373 KB:
   <ulink url="&freshmeat;perl/"/>
   
  -Procinfo (&procinfo-version;) - 24 KB:
  -<ulink url="&freshmeat;procinfo/"/>
  -
   Procps (&procps-version;) - 260 KB:
   <ulink url="&freshmeat;procps/"/>
   
  @@ -172,6 +157,9 @@
   Texinfo (&texinfo-version;) - 1,385 KB:
   <ulink url="&freshmeat;texinfo/"/>
   
  +Udev (&udev-version;) - 327 KB:
  +<ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/"/>
  +
   Util-linux (&util-linux-version;) - 1,814 KB:
   <ulink url="&freshmeat;util-linux/"/>
   
  @@ -190,27 +178,19 @@
   that may have older versions available is <ulink
   url="ftp://gaosu.rave.org/pub/linux/lfs/"/>.</para></note>
   
  -<note><para>2) As of this writing, the Glibc maintainers have decided in their
  -wisdom not to make available new release tarballs for download. The only way to
  -obtain the current Glibc release from pristine upstream sources is to pull it
  -from the Glibc CVS (Concurrent Versioning System) repository. The following commands will download the current
  -release and make a tarball from it:</para>
  -
  -<screen><userinput>cvs -z 9 -d :pserver:anoncvs at sources.redhat.com:/cvs/glibc \
  -    export -d glibc-2.3.3-20031202 -D "2003-12-02 UTC" libc
  -tar jcvf glibc-2.3.3-20031202.tar.bz2 glibc-2.3.3-20031202</userinput></screen>
  -
  -<para>Alternatively, we've made our own tarball available which you can
  -download courtesy of the generous LFS mirror sites.</para>
  -
  -<literallayout><ulink url="ftp://gaosu.rave.org/pub/linux/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/>
  -<ulink url="http://lfs.mirror.intermedia.com.sg/packages/glibc/&glibc-version;.tar.bz2"/>
  -<ulink url="ftp://lfs.mirror.intermedia.com.sg/pub/lfs/glibc/&glibc-version;.tar.bz2"/>
  -<ulink url="http://dl.lfs.fredan.org/&glibc-version;.tar.bz2"/>
  -<ulink url="http://packages.lfs-es.org/&glibc-version;.tar.bz2"/>
  -<ulink url="http://mirror.averse.net/lfs-packages/&glibc-version;.tar.bz2"/>
  -<ulink url="ftp://mirror.averse.net/pub/lfs-packages/&glibc-version;.tar.bz2"/>
  -<ulink url="ftp://ftp.lfs-matrix.de/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/></literallayout>
  +<note><para>2) Released packages of Glibc are not new enough for our purposes,
  +so create a tarball of some known-good CVS with the following commands:</para>
  +
  +<screen><userinput>cvs -z 3 -d :pserver:anoncvs at sources.redhat.com:/cvs/glibc \
  +    export -d glibc-2.3.4-20040408 -D "18:00:00 2004-04-08 UTC" libc
  +sed -i -e "s/stable/2004-04-08/" -e "s/2\.3\.3/2.3.4/" \
  +    glibc-2.3.4-20040408/version.h
  +tar jcvf glibc-2.3.4-20040408.tar.bz2 glibc-2.3.4-20040408</userinput></screen>
  +
  +<para>Alternatively, we've made our own tarball available which you can download
  +from the following location:
  +<ulink url="ftp://belfs.linux-phreak.net/belfs/glibc-2.3.4-20040408.tar.bz2"/>
  +</para>
   </note>
   
   </sect1>
  
  
  
  1.2       +17 -17    LFS/BOOK/chapter03/patches.xml
  
  Index: patches.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter03/patches.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- patches.xml	3 May 2004 10:59:40 -0000	1.1
  +++ patches.xml	3 May 2004 21:28:56 -0000	1.2
  @@ -16,42 +16,30 @@
   Bash Patch - 7 KB:
   <ulink url="&patches-root;bash-&bash-version;-2.patch"/>
   
  -Bison Attribute Patch - 2 KB:
  -<ulink url="&patches-root;bison-&bison-version;-attribute.patch"/>
  -
   Coreutils Hostname Patch - 1 KB:
   <ulink url="&patches-root;coreutils-&coreutils-version;-hostname-1.patch"/>
   
   Coreutils Uname Patch - 1 KB:
   <ulink url="&patches-root;coreutils-&coreutils-version;-uname-1.patch"/>
   
  -Ed Mkstemp Patch - 1 KB:
  -<ulink url="&patches-root;ed-&ed-version;-mkstemp.patch"/>
  -
   Expect Spawn Patch - 6 KB:
   <ulink url="&patches-root;expect-&expect-version;-spawn-1.patch"/>
   
  +Flex Brokenness Patch - 8 KB:
  +<ulink url="&patches-root;flex-&flex-version;-debian-fixes-2.patch"/>
  +
   GCC No-Fixincludes Patch - 1 KB:
   <ulink url="&patches-root;gcc-&gcc-version;-no_fixincludes-1.patch"/>
   
   GCC Specs Patch - 11 KB:
   <ulink url="&patches-root;gcc-&gcc-version;-specs-1.patch"/>
   
  -GCC-2 Patch - 16 KB:
  -<ulink url="&patches-root;gcc-&gcc-2953-version;-2.patch"/>
  -
  -GCC-2 No-Fixincludes Patch - 1 KB:
  -<ulink url="&patches-root;gcc-&gcc-2953-version;-no-fixinc.patch"/>
  -
  -GCC-2 Return-Type Patch - 1 KB:
  -<ulink url="&patches-root;gcc-&gcc-2953-version;-returntype-fix.patch"/>
  +Inetutils Kernel Headers Patch - 1 KB:
  +<ulink url="&patches-root;inetutils-&inetutils-version;-kernel-2.6-1.patch"/>
   
   Inetutils No-Server-Man-Pages Patch - 4 KB:
   <ulink url="&patches-root;inetutils-&inetutils-version;-no_server_man_pages-1.patch"/>
   
  -Kbd More-Programs Patch - 1 KB:
  -<ulink url="&patches-root;kbd-&kbd-version;-more-programs-1.patch"/>
  -
   Man 80-Columns Patch - 1 KB:
   <ulink url="&patches-root;man-&man-version;-80cols.patch"/>
   
  @@ -61,8 +49,20 @@
   Net-tools Mii-Tool-Gcc33 Patch - 2 KB:
   <ulink url="&patches-root;net-tools-&net-tools-version;-miitool-gcc33-1.patch"/>
   
  +Net-tools Kernel Headers Patch - 1 KB:
  +<ulink url="&patches-root;net-tools-&net-tools-version;-kernel-2.6-1.patch"/>
  +
   Perl Libc Patch - 1 KB:
   <ulink url="&patches-root;perl-&perl-version;-libc-1.patch"/>
  +
  +Sysklogd Kernel Headers Patch - 3 KB:
  +<ulink url="&patches-root;sysklogd-&sysklogd-version;-kernel_header.patch"/>
  +
  +Udev Configuration Patch - 6 KB:
  +<ulink url="&patches-root;udev-&udev-version;-config-1.patch"/>
  +
  +Util-Linux Kernel Headers Patch - 3 KB:
  +<ulink url="&patches-root;util-linux-&util-linux-version;-kernel-dj-2.6-1.patch"/>
   </literallayout>
   
   <para>In addition to the above required patches, there exist a number of
  
  
  
  1.73      +0 -1      LFS/BOOK/chapter04/chapter04.xml
  
  Index: chapter04.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter04/chapter04.xml,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- chapter04.xml	3 May 2004 10:59:40 -0000	1.72
  +++ chapter04.xml	3 May 2004 21:28:56 -0000	1.73
  @@ -8,7 +8,6 @@
   <title>Final Preparations</title>
   <?dbhtml filename="chapter04.html"?>
   
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutlfs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingtoolsdir.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="addinguser.xml"/>
  
  
  
  1.23      +1 -1      LFS/BOOK/chapter05/bash.xml
  
  Index: bash.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/bash.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- bash.xml	3 May 2004 10:59:41 -0000	1.22
  +++ bash.xml	3 May 2004 21:28:56 -0000	1.23
  @@ -29,7 +29,7 @@
   
   <para>Now prepare Bash for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/tools</userinput></screen>
  +<screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>
   
   <para>Compile the program:</para>
   
  
  
  
  1.18      +12 -1     LFS/BOOK/chapter05/binutils-pass2.xml
  
  Index: binutils-pass2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/binutils-pass2.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- binutils-pass2.xml	3 May 2004 10:59:41 -0000	1.17
  +++ binutils-pass2.xml	3 May 2004 21:28:56 -0000	1.18
  @@ -50,7 +50,16 @@
   nevertheless you want to run the Binutils test suite, the following command
   will do so:</para>
   
  -<screen><userinput>make check</userinput></screen>
  +<screen><userinput>make -k check</userinput></screen>
  +
  +<para>Except for a few known failures, the binutils tests should all pass. The
  +exceptions to this rule are as follows:</para>
  +
  +<screen>* 5 FAIL (unexpected failure) for visibility
  +* 1 FAIL for selective4
  +* 1 FAIL for selective5</screen>
  +
  +<!--
   
   <para>There should be no unexpected failures here, expected failures are fine.
   Unfortunately, there is no easy way to view the test results summary like there
  @@ -58,6 +67,8 @@
   to spot. The output shown will contain something like:</para>
   
   <blockquote><screen>make[1]: *** [check-binutils] Error 2</screen></blockquote>
  +
  +-->
   
   <para>And install the package:</para>
   
  
  
  
  1.19      +5 -1      LFS/BOOK/chapter05/bzip2.xml
  
  Index: bzip2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/bzip2.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- bzip2.xml	3 May 2004 10:59:41 -0000	1.18
  +++ bzip2.xml	3 May 2004 21:28:56 -0000	1.19
  @@ -23,7 +23,11 @@
   <title>Installation of Bzip2</title>
   
   <para>The Bzip2 package doesn't contain a <command>configure</command>
  -script. Compile and install it with a straightforward:</para>
  +script. Compile it with a straightforward:</para>
  +
  +<screen><userinput>make</userinput></screen>
  +
  +<para>And install it:</para>
   
   <screen><userinput>make PREFIX=/tools install</userinput></screen>
   
  
  
  
  1.60      +6 -0      LFS/BOOK/chapter05/chapter05.xml
  
  Index: chapter05.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/chapter05.xml,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- chapter05.xml	3 May 2004 10:59:41 -0000	1.59
  +++ chapter05.xml	3 May 2004 21:28:56 -0000	1.60
  @@ -9,9 +9,11 @@
   <?dbhtml filename="chapter05.html"?>
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hostreqs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="toolchaintechnotes.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils-pass1.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-pass1.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernel-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="adjusting.xml"/>
  @@ -35,8 +37,12 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="stripping.xml"/>
   
   </chapter>
  
  
  
  1.17      +2 -3      LFS/BOOK/chapter05/gcc-pass1.xml
  
  Index: gcc-pass1.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/gcc-pass1.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- gcc-pass1.xml	3 May 2004 10:59:41 -0000	1.16
  +++ gcc-pass1.xml	3 May 2004 21:28:57 -0000	1.17
  @@ -40,9 +40,8 @@
   <para>Prepare GCC for compilation:</para>
   
   <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
  -    --with-local-prefix=/tools \
  -    --disable-nls --enable-shared \
  -    --enable-languages=c</userinput></screen>
  +    --libexecdir=/tools/lib --with-local-prefix=/tools \
  +    --disable-nls --enable-shared --enable-languages=c</userinput></screen>
   
   <para>The meaning of the configure options:</para>
   
  
  
  
  1.27      +6 -29     LFS/BOOK/chapter05/gcc-pass2.xml
  
  Index: gcc-pass2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/gcc-pass2.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- gcc-pass2.xml	3 May 2004 10:59:41 -0000	1.26
  +++ gcc-pass2.xml	3 May 2004 21:28:57 -0000	1.27
  @@ -83,10 +83,9 @@
   <para>Now prepare GCC for compilation:</para>
   
   <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
  -    --with-local-prefix=/tools \
  -    --enable-clocale=gnu --enable-shared \
  -    --enable-threads=posix --enable-__cxa_atexit \
  -    --enable-languages=c,c++</userinput></screen>
  +    --libexecdir=/tools/lib --with-local-prefix=/tools \
  +    --enable-clocale=gnu --enable-shared --enable-threads=posix \
  +    --enable-__cxa_atexit --enable-languages=c,c++</userinput></screen>
   
   <para>The meaning of the new configure options:</para>
   
  @@ -141,34 +140,12 @@
   <para>You can compare your results to those posted to the gcc-testresults
   mailing list for similar configurations to your own. For an example of how
   current GCC-&gcc-version; should look on i686-pc-linux-gnu, see
  -<ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-01/msg00826.html"/>.</para>
  -
  -<para>Note that the results contain:</para>
  -
  -<screen>* 1 XPASS (unexpected pass) for g++
  -* 1 FAIL (unexpected failure) for gcc
  -* 24 XPASS's for libstdc++</screen>
  - 
  -<para>The unexpected pass for g++ is due to the use of
  -<emphasis>--enable-__cxa_atexit</emphasis>. Apparently not all platforms
  -supported by GCC have support for <quote>__cxa_atexit</quote> in their C
  -libraries, so this test is not always expected to pass.</para>
  -
  -<para>The 24 unexpected passes for libstdc++ are due to the use of
  -<emphasis>--enable-clocale=gnu</emphasis>. This option, which is the correct
  -choice on Glibc-based systems of versions 2.2.5 and above, enables in the GNU C
  -library a locale support that is superior to the otherwise selected
  -<emphasis>generic</emphasis> model (which may be applicable if for instance you
  -were using Newlibc, Sun-libc or whatever other libc). The libstdc++ test suite
  -is apparently expecting the <emphasis>generic</emphasis> model, hence those
  -tests are not always expected to pass.</para>
  +<ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-04/msg00414.html"/>.</para>
   
   <para>Having a few unexpected failures often cannot be avoided. The GCC
   developers are usually aware of these, but haven't yet gotten around to fixing
  -them. One particular case in point is the filebuf_members test in the C++
  -standard library testsuite.  This test has been observed to fail in some
  -situations, but succeeed in others.  In short, unless your results are vastly
  -different from those at the above URL, it is safe to continue.</para>
  +them. In short, unless your results are vastly different from those at the above
  +URL, it is safe to continue.</para>
   
   <para>And finally install the package:</para>
   
  
  
  
  1.18      +14 -1     LFS/BOOK/chapter05/gettext.xml
  
  Index: gettext.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/gettext.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- gettext.xml	3 May 2004 10:59:41 -0000	1.17
  +++ gettext.xml	3 May 2004 21:28:57 -0000	1.18
  @@ -24,7 +24,20 @@
   
   <para>Prepare Gettext for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/tools</userinput></screen>
  +<screen><userinput>./configure --prefix=/tools --disable-libasprintf \
  +    --disable-csharp</userinput></screen>
  +
  +<itemizedlist>
  +<listitem><para><userinput>--disable-libasprintf</userinput>: This flag tells
  +Gettext that we don't want its asprintf library.  Nothing in Chapter 5 or 6
  +requires this, and gettext gets rebuilt later, so we exclude it to save
  +time/space.</para></listitem>
  +
  +<listitem><para><userinput>--disable-csharp</userinput>: Gettext has a nasty
  +habit of searching for a C# compiler on the host, and building bindings for it.
  +We've already <quote>locked</quote> ourselves into the temporary tools though,
  +which doesn't have a C# compiler.</para></listitem>
  +</itemizedlist>
   
   <para>Compile the programs:</para>
   
  
  
  
  1.20      +28 -22    LFS/BOOK/chapter05/glibc.xml
  
  Index: glibc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/glibc.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- glibc.xml	3 May 2004 20:13:13 -0000	1.19
  +++ glibc.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -39,38 +39,44 @@
   
   <para>Next, prepare Glibc for compilation:</para>
   
  -<screen><userinput>../glibc-&glibc-version;-20031202/configure --prefix=/tools \
  -    --disable-profile --enable-add-ons=linuxthreads \
  -    --with-binutils=/tools/bin --with-headers=/tools/include \
  -    --without-gd --without-cvs</userinput></screen>
  +<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
  +    --disable-profile --enable-add-ons=nptl --with-tls \
  +    --with-binutils=/tools/bin --without-gd --without-cvs \
  +    --with-headers=/tools/glibc-kernheaders</userinput></screen>
   
   <para>The meaning of the configure options:</para>
   
   <itemizedlist>
  -<listitem><para><userinput>--disable-profile</userinput>: This
  -builds the libraries without profiling information. Omit this option if you
  -plan to do profiling on the temporary tools.</para></listitem>
  -
  -<listitem><para><userinput>--enable-add-ons=linuxthreads</userinput>: This
  -tells Glibc to use the Linuxthreads add-on as its threading
  -library.</para></listitem>
  -
  -<listitem><para><userinput>--with-binutils=/tools/bin</userinput> and
  -<userinput>--with-headers=/tools/include</userinput>: Strictly speaking
  -these switches are not required. But they ensure nothing can go wrong with
  -regard to what kernel headers and Binutils programs get used during the
  -Glibc build.</para></listitem>
  -
  -<listitem><para><userinput>--without-gd</userinput>: This prevents
  -the build of the <command>memusagestat</command> program, which
  -strangely enough insists on linking against the host's libraries (libgd,
  -libpng, libz, and so forth).</para></listitem>
  +<listitem><para><userinput>--disable-profile</userinput>: This builds the
  +libraries without profiling information. Omit this option if you plan to do
  +profiling on the temporary tools.</para></listitem> 
  +
  +<listitem><para><userinput>--enable-add-ons=nptl</userinput>: This
  +tells Glibc to use the NPTL add-on as its threading library.</para></listitem>
  +
  +<listitem><para><userinput>--with-tls</userinput>: This tells Glibc to include
  +support for TLS (thread-local storage).  This is required for NPTL to work.
  +</para></listitem>
  +
  +<listitem><para><userinput>--with-binutils=/tools/bin</userinput>: Strictly
  +speaking this switch is not required. But it does ensure nothing can go wrong
  +with regard to what Binutils programs get used during the Glibc build.</para></listitem>
  +
  +<listitem><para><userinput>--without-gd</userinput>: This prevents the build
  +of the <command>memusagestat</command> program, which strangely enough insists
  +on linking against the host's libraries (libgd, libpng, libz, and so forth).
  +</para></listitem>
   
   <listitem><para><userinput>--without-cvs</userinput>: This is meant to prevent
   the Makefiles from attempting automatic CVS checkouts when using a CVS
   snapshot. But it's not actually needed these days. We use it because it
   suppresses an annoying but harmless warning about a missing
   <command>autoconf</command> program.</para></listitem>
  +
  +<listitem><para><userinput>--with-headers=/tools/glibc-kernheaders</userinput>:
  +This tells Glibc to compile against the <quote>raw</quote> kernel headers, so
  +that it knows exactly what features the kernel has, and can optimize itself
  +accordingly.  Not strictly necessary, but nice to have.</para></listitem>
   </itemizedlist>
   
   <para>During this stage you might see the following warning:</para>
  
  
  
  1.2       +5 -5      LFS/BOOK/chapter05/kernel-headers.xml
  
  Index: kernel-headers.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/kernel-headers.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- kernel-headers.xml	3 May 2004 10:59:41 -0000	1.1
  +++ kernel-headers.xml	3 May 2004 21:28:57 -0000	1.2
  @@ -38,17 +38,17 @@
   <para>Create the platform-specific <filename>include/asm</filename>
   symlink:</para>
   
  -<screen><userinput>make symlinks</userinput></screen>
  +<screen><userinput>make include/asm</userinput></screen>
   
   <para>Install the platform-specific header files:</para>
   
  -<screen><userinput>mkdir /tools/include/asm
  -cp include/asm/* /tools/include/asm
  -cp -R include/asm-generic /tools/include</userinput></screen>
  +<screen><userinput>mkdir /tools/glibc-kernheaders
  +cp -HR include/asm /tools/glibc-kernheaders
  +cp -R include/asm-generic /tools/glibc-kernheaders</userinput></screen>
   
   <para>Finally, install the cross-platform kernel header files:</para>
   
  -<screen><userinput>cp -R include/linux /tools/include</userinput></screen>
  +<screen><userinput>cp -R include/linux /tools/glibc-kernheaders</userinput></screen>
   
   </sect2>
   
  
  
  
  1.14      +0 -6      LFS/BOOK/chapter05/perl.xml
  
  Index: perl.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/perl.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- perl.xml	3 May 2004 10:59:41 -0000	1.13
  +++ perl.xml	3 May 2004 21:28:57 -0000	1.14
  @@ -26,12 +26,6 @@
   
   <screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
   
  -<para>Perl insists on using the <command>arch</command> program to find out
  -the machine type. Create a little script to mimic this command:</para>
  -
  -<screen><userinput>echo "uname -m" > /tools/bin/arch
  -chmod 755 /tools/bin/arch</userinput></screen>
  -
   <para>Now prepare Perl for compilation (make sure you get the 'IO Fcntl POSIX'
   right, they are all letters):</para>
   
  
  
  
  1.2       +6 -2      LFS/BOOK/chapter05/util-linux.xml
  
  Index: util-linux.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/util-linux.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- util-linux.xml	3 May 2004 10:59:41 -0000	1.1
  +++ util-linux.xml	3 May 2004 21:28:57 -0000	1.2
  @@ -22,12 +22,16 @@
   <sect2>
   <title>Installation of Util-linux</title>
   
  +<para>Util-linux has issues with the Linux 2.6 kernel series - fix these issues
  +by applying the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-kernel-dj-2.6-1.patch</userinput></screen>
  +
   <para>Util-linux doesn't use the freshly installed headers and libraries
   from the /tools directory.  This is fixed by altering the configure
   script:</para>
   
  -<screen><userinput>cp configure configure.backup
  -sed "s@/usr/include@/tools/include at g" configure.backup > configure</userinput></screen>
  +<screen><userinput>sed -i "s@/usr/include@/tools/include at g" configure</userinput></screen>
   
   <para>Prepare Util-linux for compilation:</para>
   
  
  
  
  1.1                  LFS/BOOK/chapter05/bison.xml
  
  Index: bison.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-bison" xreflabel="Bison">
  <title>Bison-&bison-version;</title>
  <?dbhtml filename="bison.html"?>
  
  <indexterm zone="ch-tools-bison">
  <primary sortas="a-Bison">Bison</primary>
  <secondary>tools</secondary></indexterm>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/bison.xml" xpointer="xpointer(/sect1/para[1])"/>
  
  <screen>&buildtime; 0.6 SBU
  &diskspace; 10.6 MB</screen>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/bison.xml" xpointer="xpointer(/sect1/para[2])"/>
  
  
  <sect2>
  <title>Installation of Bison</title>
  
  <para>Prepare Bison for compilation:</para>
  
  <screen><userinput>./configure --prefix=/tools</userinput></screen>
  
  <para>Compile the package:</para>
  
  <screen><userinput>make</userinput></screen>
  
  <para>To test the results, issue:
  <userinput>make check</userinput>.</para>
  
  <para>Now install the package:</para>
  
  <screen><userinput>make install</userinput></screen>
  
  </sect2>
  
  <sect2><title> </title><para> </para>
  <para>The details on this package are found in <xref linkend="contents-bison"/>.</para>
  <para> </para></sect2>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter05/flex.xml
  
  Index: flex.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-flex" xreflabel="Flex">
  <title>Flex-&flex-version;</title>
  <?dbhtml filename="flex.html"?>
  
  <indexterm zone="ch-tools-flex">
  <primary sortas="a-Flex">Flex</primary>
  <secondary>tools</secondary></indexterm>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/para[1])"/>
  
  <screen>&buildtime; 0.6 SBU
  &diskspace; 10.6 MB</screen>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/para[2])"/>
  
  
  <sect2>
  <title>Installation of Bison</title>
  
  <para>Flex contains several known bugs. Fix these with the following patch:</para>
  
  <screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian-fixes-2.patch</userinput></screen>
  
  <para>The GNU autotools detects that the Flex source code has been modified by
  the patch, and tries to update the man pages to include those changes, but this
  breaks on many systems, and the default pages are fine, so make sure they don't
  get renegerated:</para>
  
  <screen><userinput>touch doc/*.1</userinput></screen>
  
  <para>Now prepare Flex for compilation:</para>
  
  <screen><userinput>./configure --prefix=/tools</userinput></screen>
  
  <para>Compile the package:</para>
  
  <screen><userinput>make</userinput></screen>
  
  <para>To test the results, issue:
  <userinput>make check</userinput>.</para>
  
  <para>Now install the package:</para>
  
  <screen><userinput>make install</userinput></screen>
  
  </sect2>
  
  <sect2><title> </title><para> </para>
  <para>The details on this package are found in <xref linkend="contents-flex"/>.</para>
  <para> </para></sect2>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter05/hostreqs.xml
  
  Index: hostreqs.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-hostreqs">
  <title>Host system requirements</title>
  <?dbhtml filename="hostreqs.html"?>
  
  <para>Due to the experimental nature of BE-LFS, the host must be running at
  <emphasis>least</emphasis> a 2.6.2 kernel. The reasons for this high requirement
  is the use of NPTL, but more importantly the use of udev. Udev creates devices
  dynamically by reading from the sysfs file system. Only very recently has
  support for this file system been implemented in most of the kernel drivers,
  however. We must be sure that all the critical system devices get created
  properly.</para>
  
  <para>As for obtaining such a kernel, let's hope you distributor has provided
  a 2.6 kernel package for you. If so, install it. If not, you'll have to compile
  it yourself. If you're forced into a situation where you need to compile it
  yourself, it is highly recommended that you compile your kernel in a monolithic
  manner, as you probably don't want to go fiddling with your hosts module
  utilities. Supposing you don't want to listen, open up the module-init-tools
  tarball and check out the README on how to get module support for 2.6.</para>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter05/linux-libc-headers.xml
  
  Index: linux-libc-headers.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-linux-libc-headers">
  <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
  <?dbhtml filename="linux-libc-headers.html"?>
  
  <indexterm zone="ch-tools-linux-libc-headers">
  <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
  <secondary>tools, headers</secondary></indexterm>
  
  <screen>&buildtime; 0.1 SBU
  &diskspace; 22 MB</screen>
  
  
  <sect2>
  <title>Installation of Linux-Libc-Headers</title>
  
  <para>For years it has been common practice to use so-called <quote>raw</quote>
  kernel headers (straight from a kernel tarball) in /usr/include, but over the
  last few years, the kernel developers have taken a strong stance that such
  things should not be done.  Thus was born the linux-libc-headers project,
  designed to maintain an API stable version of the Linux headers.</para>
  
  <para>Install the header files:</para>
  
  <screen><userinput>cp -R include/asm-i386 /tools/include/asm
  cp -R include/linux /tools/include</userinput></screen>
  
  </sect2>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter05/m4.xml
  
  Index: m4.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-m4" xreflabel="M4">
  <title>M4-&m4-version;</title>
  <?dbhtml filename="m4.html"?>
  
  <indexterm zone="ch-tools-m4">
  <primary sortas="a-M4">M4</primary>
  <secondary>tools</secondary></indexterm>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/m4.xml" xpointer="xpointer(/sect1/para[1])"/>
  
  <screen>&buildtime; 0.1 SBU
  &diskspace; 3.0 MB</screen>
  
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/m4.xml" xpointer="xpointer(/sect1/para[2])"/>
  
  
  <sect2>
  <title>Installation of M4</title>
  
  <para>Prepare M4 for compilation:</para>
  
  <screen><userinput>./configure --prefix=/tools</userinput></screen>
  
  <para>Compile the package:</para>
  
  <screen><userinput>make</userinput></screen>
  
  <para>To test the results, issue:
  <userinput>make check</userinput>.</para>
  
  <para>Now install the package:</para>
  
  <screen><userinput>make install</userinput></screen>
  
  </sect2>
  
  <sect2><title> </title><para> </para>
  <para>The details on this package are found in <xref linkend="contents-m4"/>.</para>
  <para> </para></sect2>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter05/udev.xml
  
  Index: udev.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-tools-udev">
  <title>Udev-&udev-version;</title>
  <?dbhtml filename="udev.html"?>
  
  <indexterm zone="ch-tools-udev">
  <primary sortas="a-Udev">Udev</primary>
  <secondary>tools</secondary></indexterm>
  
  <!--
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/udev.xml" xpointer="xpointer(/sect1/para[1])"/>
   -->
  
  <screen>&buildtime; 0.2 SBU
  &diskspace; 5.2 MB</screen>
  
  <!--
  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/udev.xml" xpointer="xpointer(/sect1/para[2])"/>
   -->
  
  <sect2>
  <title>Installation of Udev</title>
  
  <para>By default, the permissions udev assigns to nodes are all uniform,
  being owned by user root, group root, and only accessible to root. As you
  can easily imagine, this isn't ideal. Give it a much better configuration
  by applying the following patch:</para>
  
  <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch
  </userinput></screen>
  
  <para>The udevstart program hardcodes the path to the udev program in itself,
  which is bad since we install udev in a non-standard location. Fix this by
  running the following:</para>
  
  <screen><userinput>sed -i 's:\/sbin\/udev:/tools&:' udevstart.c</userinput></screen>
  
  <para>Also assure that udev knows the correct location to look for its
  configuration files:</para>
  
  <screen><userinput>sed -i 's:\/etc:/tools&:' etc/udev/udev.conf.in</userinput></screen>
  
  <para>Now compile Udev:</para>
  
  <screen><userinput>make prefix=/tools etcdir=/tools/etc</userinput></screen>
  
  <para>Generate Udev's main configuration file:</para>
  
  <screen><userinput>make udevdir=/dev etc/udev/udev.conf</userinput></screen>
  
  <para>And install finally install it:</para>
  
  <screen><userinput>make DESTDIR=/tools install</userinput></screen>
  
  </sect2>
  
  <sect2><title> </title><para> </para>
  <para>The details on this package are found in <xref linkend="contents-udev"/>.</para>
  <para> </para></sect2>
  
  </sect1>
  
  
  
  1.21      +2 -2      LFS/BOOK/chapter06/bash.xml
  
  Index: bash.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bash.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- bash.xml	3 May 2004 10:59:41 -0000	1.20
  +++ bash.xml	3 May 2004 21:28:57 -0000	1.21
  @@ -18,7 +18,6 @@
   GCC, Glibc, Grep, Make, Ncurses, Sed.</para>
   
   
  -
   <sect2>
   <title>Installation of Bash</title>
   
  @@ -30,7 +29,8 @@
   
   <para>Now prepare Bash for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
  +<screen><userinput>./configure --prefix=/usr --bindir=/bin \
  +    --without-bash-malloc</userinput></screen>
   
   <para>Compile the package:</para>
   
  
  
  
  1.23      +2 -4      LFS/BOOK/chapter06/binutils.xml
  
  Index: binutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/binutils.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- binutils.xml	3 May 2004 10:59:41 -0000	1.22
  +++ binutils.xml	3 May 2004 21:28:57 -0000	1.23
  @@ -34,9 +34,7 @@
   
   <para>Your chroot environment is not set up for proper PTY operation. In this
   case there is no point in running the test suites for Binutils and GCC until you
  -are able to resolve the issue. Please refer back to <xref linkend="ch-system-proc"/>
  -and the <xref linkend="ch-system-MAKEDEV"/> section and perform the recommended steps
  -to fix the problem.</para>
  +are able to resolve the issue.</para>
   
   <para>This package is known to behave badly when you have changed its
   default optimization flags (including the -march and -mcpu options).
  @@ -72,7 +70,7 @@
   
   <para>Test the results:</para>
   
  -<screen><userinput>make check</userinput></screen>
  +<screen><userinput>make -k check</userinput></screen>
   
   <para>The test suite notes from <xref linkend="ch-tools-binutils-pass2"/> are still
   very much appropriate here. Be sure to refer back there should you have any
  
  
  
  1.20      +1 -6      LFS/BOOK/chapter06/bison.xml
  
  Index: bison.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bison.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- bison.xml	3 May 2004 10:59:41 -0000	1.19
  +++ bison.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -22,12 +22,7 @@
   <sect2>
   <title>Installation of Bison</title>
   
  -<para>First fix a minor compilation problem that Bison has with some packages,
  -the patch is back-ported from CVS:</para>
  -
  -<screen><userinput>patch -Np1 -i ../bison-&bison-version;-attribute.patch</userinput></screen>
  -
  -<para>Now prepare Bison for compilation:</para>
  +<para>Prepare Bison for compilation:</para>
   
   <screen><userinput>./configure --prefix=/usr</userinput></screen>
   
  
  
  
  1.20      +0 -1      LFS/BOOK/chapter06/bzip2.xml
  
  Index: bzip2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bzip2.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- bzip2.xml	3 May 2004 10:59:41 -0000	1.19
  +++ bzip2.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -55,7 +55,6 @@
   cp -a libbz2.so* /lib
   ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
   rm /usr/bin/{bunzip2,bzcat,bzip2}
  -mv /usr/bin/{bzip2recover,bzless,bzmore} /bin
   ln -s bzip2 /bin/bunzip2
   ln -s bzip2 /bin/bzcat</userinput></screen>
   
  
  
  
  1.80      +5 -133    LFS/BOOK/chapter06/chapter06.xml
  
  Index: chapter06.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/chapter06.xml,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- chapter06.xml	3 May 2004 10:59:41 -0000	1.79
  +++ chapter06.xml	3 May 2004 21:28:57 -0000	1.80
  @@ -8,192 +8,65 @@
   <title>Installing basic system software</title>
   <?dbhtml filename="chapter06.html"?>
   
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="proc.xml"/>
  -
  -
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernfs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chroot.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="changingowner.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingdirs.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="createfiles.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pwdgroup.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="makedev.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernel-headers.xml"/>
  -
  -
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="devices.xml"/>
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man-pages.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/>
  -
  -
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readjusting.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
  -
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iana-etc.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="net-tools.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="autoconf.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="automake.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libtool.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bzip2.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ed.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kbd.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="modutils.xml"/>
  -
  -
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="module-init-tools.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procinfo.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procps.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="psmisc.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shadow.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysvinit.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/>
  -
  -
  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/>
  -
  -
  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-2953.xml"/>
  -
  -
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutdebug.xml"/>
   
  -
   <sect1 id="ch-system-strippingagain">
   <title>Stripping again</title>
   <?dbhtml filename="strippingagain.html"?>
  @@ -238,7 +111,6 @@
   destroyed.</para>
   
   </sect1>
  -
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="revisedchroot.xml"/>
   
  
  
  
  1.20      +6 -11     LFS/BOOK/chapter06/coreutils.xml
  
  Index: coreutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/coreutils.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- coreutils.xml	3 May 2004 10:59:41 -0000	1.19
  +++ coreutils.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -57,11 +57,7 @@
   
   <screen><userinput>make install-root</userinput></screen>
   
  -<para>Create a 'table of mounted filesystems' file with:</para>
  -
  -<screen><userinput>touch /etc/mtab</userinput></screen>
  -
  -<para>And create two dummy groups and a dummy user name:</para>
  +<para>Create two dummy groups and a dummy user name:</para>
   
   <screen><userinput>echo "dummy1:x:1000" >> /etc/group
   echo "dummy2:x:1001:dummy" >> /etc/group
  @@ -70,7 +66,7 @@
   <para>Now you're all set to run the test suite. First run the few tests that
   are meant to be run as <emphasis>root</emphasis>:</para>
   
  -<screen><userinput>export NON_ROOT_USERNAME=dummy; make check-root</userinput></screen>
  +<screen><userinput>make NON_ROOT_USERNAME=dummy make check-root</userinput></screen>
   
   <para>Then run the remainder of the tests as the <emphasis>dummy</emphasis>
   user:</para>
  @@ -79,7 +75,7 @@
   
   <para>When you're done testing, remove the dummy user and groups:</para>
   
  -<screen><userinput>sed -i.bak '/dummy/d' /etc/passwd /etc/group</userinput></screen>
  +<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>
   
   <para>Install the package:</para>
   
  @@ -87,7 +83,7 @@
   
   <para>And move some programs to their proper locations:</para>
   
  -<screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
  +<screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
   mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
   mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
   mv /usr/bin/{sleep,stty,su,test,touch,true,uname} /bin
  @@ -99,10 +95,9 @@
   
   <screen><userinput>rm /usr/bin/kill</userinput></screen>
   
  -<para>Finally, create two symlinks to be FHS-compliant:</para>
  +<para>Finally, create a symlink to be FHS-compliant:</para>
   
  -<screen><userinput>ln -s test /bin/[
  -ln -s ../../bin/install /usr/bin</userinput></screen>
  +<screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen>
   
   </sect2>
   
  
  
  
  1.21      +2 -2      LFS/BOOK/chapter06/creatingdirs.xml
  
  Index: creatingdirs.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/creatingdirs.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- creatingdirs.xml	3 May 2004 10:59:41 -0000	1.20
  +++ creatingdirs.xml	3 May 2004 21:28:57 -0000	1.21
  @@ -11,7 +11,7 @@
   a directory tree. Issuing the following commands will create a more or less
   standard tree:</para>
    
  -<screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc}
  +<screen><userinput>mkdir -p /{bin,boot,dev,etc/opt,home,lib,mnt}
   mkdir -p /{root,sbin,srv,tmp,usr/local,var,opt}
   mkdir -p /media/{floppy,cdrom}
   mkdir /usr/{bin,include,lib,sbin,share,src}
  @@ -25,7 +25,7 @@
   mkdir /usr/local/share/{misc,terminfo,zoneinfo}
   mkdir /usr/local/share/man/man{1,2,3,4,5,6,7,8}
   mkdir /var/{lock,log,mail,run,spool}
  -mkdir -p /var/{tmp,opt,cache,lib/misc,local}
  +mkdir -p /var/{tmp,opt,cache,lib/{misc,locate},local}
   mkdir /opt/{bin,doc,include,info}
   mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
   
  
  
  
  1.23      +4 -13     LFS/BOOK/chapter06/e2fsprogs.xml
  
  Index: e2fsprogs.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/e2fsprogs.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- e2fsprogs.xml	3 May 2004 10:59:41 -0000	1.22
  +++ e2fsprogs.xml	3 May 2004 21:28:57 -0000	1.23
  @@ -23,16 +23,10 @@
   <sect2>
   <title>Installation of E2fsprogs</title>
   
  -<para>It is recommended to build E2fsprogs outside of the
  -source tree:</para>
  -
  -<screen><userinput>mkdir ../e2fsprogs-build
  -cd ../e2fsprogs-build</userinput></screen>
  -
   <para>Prepare E2fsprogs for compilation:</para>
   
  -<screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
  -    --enable-elf-shlibs</userinput></screen>
  +<screen><userinput>./configure --prefix=/usr --with-root-prefix="" \
  +    --enable-elf-shlibs --disable-evms</userinput></screen>
   
   <para>The meaning of the configure options:</para>
   
  @@ -55,11 +49,8 @@
   
   <screen><userinput>make</userinput></screen>
   
  -<para>If you to test the results, first make sure an mtab file
  -exists with <userinput>touch /etc/mtab</userinput> to prevent some sixty tests
  -from failing, and (if it doesn't already exist) fake the presence of an old
  -pager with <userinput>ln -s /tools/bin/cat /bin/more</userinput> to prevent one
  -test from failing, then issue: <userinput>make check</userinput>.</para>
  +<para>To test the results, issue:
  +<userinput>make check</userinput>.</para>
   
   <para>Install most of the package:</para>
   
  
  
  
  1.22      +2 -2      LFS/BOOK/chapter06/findutils.xml
  
  Index: findutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/findutils.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- findutils.xml	3 May 2004 10:59:41 -0000	1.21
  +++ findutils.xml	3 May 2004 21:28:57 -0000	1.22
  @@ -28,10 +28,10 @@
   <para>Prepare Findutils for compilation:</para>
   
   <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
  -	--localstatedir=/var/lib/misc</userinput></screen>
  +    --localstatedir=/var/lib/locate</userinput></screen>
   
   <para>The localstatedir directive above changes the location of the locate
  -database to be in /var/lib/misc, which is FHS-compliant.</para>
  +database to be in /var/lib/locate, which is FHS-compliant.</para>
   
   <para>Compile the package:</para>
   
  
  
  
  1.20      +12 -2     LFS/BOOK/chapter06/flex.xml
  
  Index: flex.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/flex.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- flex.xml	3 May 2004 10:59:41 -0000	1.19
  +++ flex.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -23,7 +23,17 @@
   <sect2>
   <title>Installation of Flex</title>
   
  -<para>Prepare Flex for compilation:</para>
  +<para>Flex contains several known bugs. Fix these with the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian-fixes-2.patch</userinput></screen>
  +
  +<para>The GNU autotools detects that the Flex source code has been modified by the patch,
  +and tries to update the man pages to include those changes, but this breaks on many
  +systems, and the default pages are fine, so make sure they don't get renegerated:</para>
  +
  +<screen><userinput>touch doc/*.1</userinput></screen>
  +
  +<para>Now prepare Flex for compilation:</para>
   
   <screen><userinput>./configure --prefix=/usr</userinput></screen>
   
  @@ -32,7 +42,7 @@
   <screen><userinput>make</userinput></screen>
   
   <para>To test the results, issue:
  -<userinput>make bigcheck</userinput>.</para>
  +<userinput>make check</userinput>.</para>
   
   <para>Now install the package:</para>
   
  
  
  
  1.28      +3 -3      LFS/BOOK/chapter06/gcc.xml
  
  Index: gcc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gcc.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- gcc.xml	3 May 2004 10:59:41 -0000	1.27
  +++ gcc.xml	3 May 2004 21:28:57 -0000	1.28
  @@ -55,9 +55,9 @@
   <para>Now prepare GCC for compilation:</para>
   
   <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
  -    --enable-shared --enable-threads=posix \
  -    --enable-__cxa_atexit --enable-clocale=gnu \
  -    --enable-languages=c,c++</userinput></screen>
  +    --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
  +    --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
  +</userinput></screen>
   
   <para>Compile the package:</para>
   
  
  
  
  1.31      +13 -20    LFS/BOOK/chapter06/glibc.xml
  
  Index: glibc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/glibc.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- glibc.xml	3 May 2004 10:59:41 -0000	1.30
  +++ glibc.xml	3 May 2004 21:28:57 -0000	1.31
  @@ -42,28 +42,20 @@
   
   <para>Now prepare Glibc for compilation:</para>
   
  -<screen><userinput>../glibc-&glibc-version;-20031202/configure --prefix=/usr \
  -    --disable-profile --enable-add-ons=linuxthreads \
  -    --libexecdir=/usr/lib --with-headers=/usr/include \
  -    --without-cvs</userinput></screen>
  +<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
  +    --disable-profile --enable-add-ons=nptl --with-tls \
  +    --libexecdir=/tmp/pt_chown --without-cvs \
  +    --with-headers=/tools/glibc-kernheaders</userinput></screen>
   
   <para>The meaning of the new configure options:</para>
   
   <itemizedlist>
  -<listitem><para><userinput>--libexecdir=/usr/lib</userinput>: This changes the
  -location of the <filename>pt_chown</filename> program from its default of 
  +<listitem><para><userinput>--libexecdir=/tmp/pt_chown</userinput>: This changes
  +the location of the <filename>pt_chown</filename> program from its default of
   <filename class="directory">/usr/libexec</filename> to
  -<filename class="directory">/usr/lib</filename>. The use of
  -<emphasis>libexec</emphasis> is considered not to be FHS-compliant because the
  -FHS doesn't even mention it.</para></listitem>
  -
  -<listitem><para><userinput>--with-headers=/usr/include</userinput>: This
  -ensures that the kernel headers in <filename>/usr/include</filename> are used
  -for this build. If you don't pass this switch then the headers from
  -<filename>/tools/include</filename> are used which of course is not ideal
  -(although they should be identical). Using this switch has the advantage
  -that you will be informed immediately should you have forgotten to install the
  -kernel headers into <filename>/usr/include</filename>.</para></listitem>
  +<filename class="directory">/tmp/pt_chown</filename>. This program isn't required
  +on modern systems, so we install it in a place from which we will delete it
  +later.</para></listitem>
   </itemizedlist>
   
   <para>Compile the package:</para>
  @@ -119,13 +111,14 @@
   localedef -i it_IT -f ISO-8859-1 it_IT
   localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
   
  -<para>Finally, build the linuxthreads man pages:</para>
  +<para>Finally, build the linuxthreads man pages, which are a great reference
  +on the threading API (applicable to NPTL as well):</para>
   
  -<screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man</userinput></screen>
  +<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
   
   <para>And install these pages:</para>
   
  -<screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man install</userinput></screen>
  +<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
   
   </sect2>
   
  
  
  
  1.13      +10 -1     LFS/BOOK/chapter06/grub.xml
  
  Index: grub.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/grub.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- grub.xml	3 May 2004 10:59:41 -0000	1.12
  +++ grub.xml	3 May 2004 21:28:57 -0000	1.13
  @@ -32,9 +32,18 @@
   
   <screen><userinput>./configure --prefix=/usr</userinput></screen>
   
  -<para>Compile the package:</para>
  +<para>A few of the files comprising Grub have issues with optimizations done
  +by GCC 3.4. Compile these few files with known-good optimizations:</para>
  +
  +<screen><userinput>make -C stage2 STAGE2_CFLAGS=-O2 \
  +    pre_stage2_exec-builtins.o pre_stage2_exec-serial.o</userinput></screen>
  +
  +<para>Now compile the rest of the package:</para>
   
   <screen><userinput>make</userinput></screen>
  +
  +<para>To test the results, issue:
  +<userinput>make check</userinput>.</para>
   
   <para>Now install it:</para>
   
  
  
  
  1.16      +5 -0      LFS/BOOK/chapter06/inetutils.xml
  
  Index: inetutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/inetutils.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- inetutils.xml	3 May 2004 10:59:41 -0000	1.15
  +++ inetutils.xml	3 May 2004 21:28:57 -0000	1.16
  @@ -22,6 +22,11 @@
   <sect2>
   <title>Installation of Inetutils</title>
   
  +<para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
  +by applying the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-2.6-1.patch</userinput></screen>
  +
   <para>We are not going to install all the programs that come with Inetutils.
   However, the Inetutils build system will insist on installing all the man
   pages anyway. The following patch will correct this situation:</para>
  
  
  
  1.23      +2 -8      LFS/BOOK/chapter06/kbd.xml
  
  Index: kbd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/kbd.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- kbd.xml	3 May 2004 10:59:41 -0000	1.22
  +++ kbd.xml	3 May 2004 21:28:57 -0000	1.23
  @@ -22,13 +22,7 @@
   <sect2>
   <title>Installation of Kbd</title>
   
  -<para>By default some of Kbd's utilities (<command>setlogcons</command>,
  -<command>setvesablank</command> and <command>getunimap</command>) are
  -not installed. First enable the compilation of these utilities:</para>
  -
  -<screen><userinput>patch -Np1 -i ../kbd-&kbd-version;-more-programs-1.patch</userinput></screen>
  -
  -<para>Now prepare Kbd for compilation:</para>
  +<para>Prepare Kbd for compilation:</para>
   
   <screen><userinput>./configure</userinput></screen>
   
  @@ -73,7 +67,7 @@
   kernel):</para>
   
   <screen><userinput>loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz > \
  -    /usr/src/linux-2.4.25/drivers/char/defkeymap.c</userinput></screen>
  +    /usr/src/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>
   
   </sect2>
   
  
  
  
  1.2       +5 -0      LFS/BOOK/chapter06/net-tools.xml
  
  Index: net-tools.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/net-tools.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- net-tools.xml	3 May 2004 10:59:41 -0000	1.1
  +++ net-tools.xml	3 May 2004 21:28:57 -0000	1.2
  @@ -37,6 +37,11 @@
   
   <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-miitool-gcc33-1.patch</userinput></screen>
   
  +<para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
  +by applying the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel-2.6-1.patch</userinput></screen>
  +
   <para>Now prepare Net-tools for compilation (if you intend to accept the
   defaults, you can skip all the questions by running <userinput>yes "" |
   make config</userinput> instead):</para>
  
  
  
  1.21      +2 -2      LFS/BOOK/chapter06/psmisc.xml
  
  Index: psmisc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/psmisc.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- psmisc.xml	3 May 2004 10:59:41 -0000	1.20
  +++ psmisc.xml	3 May 2004 21:28:57 -0000	1.21
  @@ -25,12 +25,12 @@
   
   <para>Prepare Psmisc for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen>
  +<screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
   
   <para>The meaning of the configure option:</para>
   
   <itemizedlist>
  -<listitem><para><userinput>--exec-prefix=/</userinput>: This causes the
  +<listitem><para><userinput>--exec-prefix=""</userinput>: This causes the
   binaries to be installed in <filename>/bin</filename> instead of
   <filename>/usr/bin</filename>. As the Psmisc programs are often used in
   bootscripts, they should be available also when the <filename>/usr</filename>
  
  
  
  1.25      +2 -1      LFS/BOOK/chapter06/pwdgroup.xml
  
  Index: pwdgroup.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/pwdgroup.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- pwdgroup.xml	3 May 2004 10:59:41 -0000	1.24
  +++ pwdgroup.xml	3 May 2004 21:28:57 -0000	1.25
  @@ -45,10 +45,11 @@
   lp:x:9:
   dialout:x:10:
   audio:x:11:
  +video:x:12:
   <userinput>EOF</userinput></screen>
   
   <para>The created groups aren't part of any standard -- they are some of the
  -groups that the <command>make_devices</command> script in the next section
  +groups that the Udev configuration we will be using in the next section
   uses. The LSB (<ulink url="http://www.linuxbase.org/">Linux Standard
   Base</ulink>) recommends only that, beside the group <quote>root</quote> with a
   GID of 0, a group <quote>bin</quote> with a GID of 1 be present. All other group
  
  
  
  1.6       +5 -0      LFS/BOOK/chapter06/shadow.xml
  
  Index: shadow.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadow.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- shadow.xml	3 May 2004 10:59:41 -0000	1.5
  +++ shadow.xml	3 May 2004 21:28:57 -0000	1.6
  @@ -43,6 +43,11 @@
   
   <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen>
   
  +<para>Shadow incorrectly declares the malloc() function, causing compilation
  +failure. Fix this:</para>
  +
  +<screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen>
  +
   <para>Compile the package:</para>
   
   <screen><userinput>make</userinput></screen>
  
  
  
  1.20      +5 -1      LFS/BOOK/chapter06/sysklogd.xml
  
  Index: sysklogd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/sysklogd.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- sysklogd.xml	3 May 2004 10:59:41 -0000	1.19
  +++ sysklogd.xml	3 May 2004 21:28:57 -0000	1.20
  @@ -18,9 +18,13 @@
   <para>Sysklogd installation depends on: Binutils, Coreutils, GCC, Glibc, Make.</para>
   
   
  -
   <sect2>
   <title>Installation of Sysklogd</title>
  +
  +<para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues
  +by applying the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_header.patch</userinput></screen>
   
   <para>Compile Sysklogd:</para>
   
  
  
  
  1.2       +5 -0      LFS/BOOK/chapter06/util-linux.xml
  
  Index: util-linux.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/util-linux.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- util-linux.xml	3 May 2004 10:59:41 -0000	1.1
  +++ util-linux.xml	3 May 2004 21:28:57 -0000	1.2
  @@ -39,6 +39,11 @@
   <sect2>
   <title>Installation of Util-linux</title>
   
  +<para>Util-linux has issues with the Linux 2.6 kernel series - fix these isues
  +by applying the following patch:</para>
  +
  +<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-kernel-dj-2.6-1.patch</userinput></screen>
  +
   <para>Prepare Util-linux for compilation:</para>
   
   <screen><userinput>./configure</userinput></screen>
  
  
  
  1.29      +1 -1      LFS/BOOK/chapter06/vim.xml
  
  Index: vim.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/vim.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- vim.xml	3 May 2004 10:59:42 -0000	1.28
  +++ vim.xml	3 May 2004 21:28:57 -0000	1.29
  @@ -45,7 +45,7 @@
   <screen><userinput>make</userinput></screen>
   
   <para>To test the results, you can issue:
  -<userinput>make check</userinput>. However, this test suite outputs a lot of
  +<userinput>make test</userinput>. However, this test suite outputs a lot of
   seemingly garbage characters to the screen, and this can wreak havoc with the
   settings of the current terminal. Therefore the running of the test suite here
   is strictly optional.</para>
  
  
  
  1.1                  LFS/BOOK/chapter06/devices.xml
  
  Index: devices.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-system-devices" xreflabel="devices">
  <title>Populating /dev with device nodes</title>
  <?dbhtml filename="devices.html"?>
  
  <indexterm zone="ch-system-devices"><primary sortas="a-Devices">Devices</primary></indexterm>
  
  <sect2>
  <title>Creating initial device nodes</title>
  
  <para>When the kernel boots the system, it requires the presence of a few device
  nodes, in particular the console and null devices:</para>
  
  <screen><userinput>mknod -m 600 /dev/console c 5 1
  mknod -m 666 /dev/null c 1 3</userinput></screen>
  </sect2>
  
  <sect2>
  <title>Mounting ramfs and populating /dev</title>
  
  <para>The ideal way to populate /dev is to mount a ramfs onto /dev (like tmpfs, but it
  cannot be swapped) and create the devices on there during each bootup.  Since we haven't
  booted the system, we have to do what the bootscripts would otherwise do for us, and
  populate /dev ourselves.  Begin by mounting /dev:</para>
  
  <screen><userinput>mount -n -t ramfs none /dev</userinput></screen>
  
  <para>Now use the provided udevstart utility to create the initial devices based on
  all the information in /sys:</para>
  
  <screen><userinput>/tools/sbin/udevstart</userinput></screen>
  
  <para>There are some symlinks and directories required by LFS that are not created by
  Udev, so we create those ourselves here:</para>
  
  <screen><userinput>ln -s /proc/self/fd /dev/fd
  ln -s /proc/self/fd/0 /dev/stdin
  ln -s /proc/self/fd/1 /dev/stdout
  ln -s /proc/self/fd/2 /dev/stderr
  ln -s /proc/kcore /dev/core
  mkdir /dev/pts
  mkdir /dev/shm</userinput></screen>
  
  <para>Finally, mount the proper virtual (kernel) file systems on the directories we just
  created:</para>
  
  <screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts
  mount -t tmpfs none /dev/shm</userinput></screen>
  </sect2>
  
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter06/kernfs.xml
  
  Index: kernfs.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
  <sect1 id="ch-system-kernfs">
  <title>Mounting virtual kernel file systems</title>
  <?dbhtml filename="kernfs.html"?>
  
  <para>Various file systems exported by the kernel don't exist at all on your
  hard drive, but are used to communicate things to and from the kernel itself.</para>
  
  <para>Begin by creating directories onto which the file systems will be mounted:</para>
  
  <screen><userinput>mkdir -p $LFS/{proc,sys}</userinput></screen>
  
  <para>Now mount the file systems:</para>
  
  <screen><userinput>mount -t proc proc $LFS/proc
  mount -t sysfs sysfs $LFS/sys</userinput></screen>
  
  <para>Remember that if for any reason you stop working on your BE-LFS, and start
  again later, it's important to check that these file systems are mounted again
  before entering the chroot environment, otherwise problems could occur.</para>
  
  <para>Shortly, we'll be mounting a few more file systems from within the chroot
  environment. To keep the host up-to-date, we'll do a <quote>fake mount</quote>
  for each of these now:</para>
  
  <screen><userinput>mount -f -t ramfs ramfs $LFS/dev
  mount -f -t tmpfs tmpfs $LFS/dev/shm
  mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts</userinput></screen>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter06/linux-libc-headers.xml
  
  Index: linux-libc-headers.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-system-linux-libc-headers">
  <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
  <?dbhtml filename="linux-libc-headers.html"?>
  
  <indexterm zone="ch-system-linux-libc-headers">
  <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
  <secondary>system, headers</secondary></indexterm>
  
  <screen>&buildtime; 0.1 SBU
  &diskspace; 22 MB</screen>
  
  
  <sect2>
  <title>Installation of Linux-Libc-Headers</title>
  
  <para>For years it has been common practice to use so-called <quote>raw</quote>
  kernel headers (straight from a kernel tarball) in /usr/include, but over the
  last few years, the kernel developers have taken a strong stance that such
  things should not be done.  Thus was born the linux-libc-headers project,
  designed to maintain an API stable version of the Linux headers.</para>
  
  <para>Install the header files:</para>
  
  <screen><userinput>cp -R include/asm-i386 /usr/include/asm
  cp -R include/linux /usr/include</userinput></screen>
  
  <para>Assure that all the headers are owned by root:</para>
  
  <screen><userinput>chown -R root:root /usr/include/{asm,linux}</userinput></screen>
  
  <para>And make sure all the users can read the headers:</para>
  
  <screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;
  find /usr/include/{asm,linux} -type f -exec chmod 644 {} \;</userinput></screen>
  
  </sect2>
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter06/module-init-tools.xml
  
  Index: module-init-tools.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-system-module-init-tools" xreflabel="Module-Init-Tools">
  <title>Module-Init-Tools-&module-init-tools-version;</title>
  <?dbhtml filename="module-init-tools.html"?>
  
  <indexterm zone="ch-system-module-init-tools"><primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary></indexterm>
  
  <para>The Module-Init-Tools package contains programs for handling kernel
  modules in Linux kernels greater than or equal to version 2.5.47.</para>
  
  <screen>&buildtime; 0.1 SBU
  &buildtime; 650 KB</screen>
  
  <para>Module-Init-Tools installation depends on: Bash, Binutils, Bison,
  Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed.</para>
  
  
  <sect2>
  <title>Installation of Module-Init-Tools</title>
  
  <para>Prepare Module-Init-Tools for compilation:</para>
  
  <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen>
  
  <para>Compile the package:</para>
  
  <screen><userinput>make</userinput></screen>
  
  <para>To test the results, issue:
  <userinput>make check</userinput>.</para>
  
  <para>Install it:</para>
  
  <screen><userinput>make install</userinput></screen>
  
  </sect2>
  
  
  <sect2 id="contents-module-init-tools"><title>Contents of Module-Init-Tools</title>
  
  <para><emphasis>Installed programs</emphasis>: depmod, genksyms, insmod,
  insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms
  (link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod)
  and rmmod (link to insmod)</para>
  
  </sect2>
  
  
  <sect2><title>Short descriptions</title>
  
  <indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm>
  <para id="depmod"><command>depmod</command> creates a dependency file, based on the
  symbols it finds in the existing set of modules. This dependency file is used
  by modprobe to automatically load the required modules.</para>
  
  <indexterm zone="ch-system-module-init-tools genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm>
  <para id="genksyms"><command>genksyms</command> generates symbol version information.</para>
  
  <indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm>
  <para id="insmod"><command>insmod</command> installs a loadable module in the running kernel.</para>
  
  <indexterm zone="ch-system-module-init-tools insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm>
  <para id="insmod_ksymoops_clean"><command>insmod_ksymoops_clean</command> deletes saved ksyms and
  modules not accessed for two days.</para>
  
  <indexterm zone="ch-system-module-init-tools kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm>
  <para id="kallsyms"><command>kallsyms</command> extracts all kernel symbols for debugging.</para>
  
  <indexterm zone="ch-system-module-init-tools kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm>
  <para id="kernelversion"><command>kernelversion</command> reports the major version of the
  running kernel.</para>
  
  <indexterm zone="ch-system-module-init-tools ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm>
  <para id="ksyms"><command>ksyms</command> displays exported kernel symbols.</para>
  
  <indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm>
  <para id="lsmod"><command>lsmod</command> shows which modules are loaded.</para>
  
  <indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm>
  <para id="modinfo"><command>modinfo</command> examines an object file associated with
  a kernel module and displays any information that it can glean.</para>
  
  <indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
  <para id="modprobe"><command>modprobe</command> uses a dependency file, created by
  depmod, to automatically load the relevant modules.</para>
  
  <indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm>
  <para id="rmmod"><command>rmmod</command> unloads modules from the running kernel.</para>
  
  </sect2>
  
  
  
  </sect1>
  
  
  
  1.1                  LFS/BOOK/chapter06/udev.xml
  
  Index: udev.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    <!ENTITY % general-entities SYSTEM "../general.ent">
    %general-entities;
  ]>
  <sect1 id="ch-system-udev">
  <title>Udev-&udev-version;</title>
  <?dbhtml filename="udev.html"?>
  
  <indexterm zone="ch-system-udev">
  <primary sortas="a-Udev">Udev</primary>
  <secondary>system</secondary></indexterm>
  
  <screen>&buildtime; 0.2 SBU
  &diskspace; 5.2 MB</screen>
  
  
  <sect2>
  <title>Installation of Udev</title>
  
  <para>By default, the permissions udev assigns to nodes are all uniform,
  being owned by user root, group root, and only accessible to root. As you
  can easily imagine, this isn't ideal. Give it a much better configuration
  by applying the following patch:</para>
  
  <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch
  </userinput></screen>
  
  <para>Now compile Udev:</para>
  
  <screen><userinput>make udevdir=/dev</userinput></screen>
  
  <para>And install finally install it:</para>
  
  <screen><userinput>make udevdir=/dev install</userinput></screen>
  
  <para>And since we aren't going to be using the udev daemon, but instead the
  udev binary itself, we correct it's hotplug configuration:</para>
  
  <screen><userinput>ln -sf /sbin/udev /etc/hotplug.d/default/udev.hotplug</userinput></screen>
  
  </sect2>
  
  
  <sect2 id="contents-udev"><title>Contents of Udev</title>
  <para>Who knows?</para>
  </sect2>
  
  
  </sect1>
  
  
  
  1.6       +4 -0      LFS/BOOK/chapter07/bootscripts.xml
  
  Index: bootscripts.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter07/bootscripts.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- bootscripts.xml	3 May 2004 10:59:43 -0000	1.5
  +++ bootscripts.xml	3 May 2004 21:28:58 -0000	1.6
  @@ -25,6 +25,10 @@
   
   <screen><userinput>make install</userinput></screen>
   
  +<para>Since we're using Udev, install the support script for it:</para>
  +
  +<screen><userinput>make install-udev</userinput></screen>
  +
   </sect2>
   
   
  
  
  
  1.18      +0 -19     LFS/BOOK/chapter07/chapter07.xml
  
  Index: chapter07.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter07/chapter07.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- chapter07.xml	3 May 2004 10:59:43 -0000	1.17
  +++ chapter07.xml	3 May 2004 21:28:58 -0000	1.18
  @@ -8,33 +8,14 @@
   <title>Setting up system boot scripts</title>
   <?dbhtml filename="chapter07.html"?>
   
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="usage.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="setclock.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="loadkeys.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hostname.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hosts.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="network.xml"/>
  -
  -
   
   </chapter>
  
  
  
  1.10      +0 -7      LFS/BOOK/chapter08/chapter08.xml
  
  Index: chapter08.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter08/chapter08.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- chapter08.xml	3 May 2004 10:59:43 -0000	1.9
  +++ chapter08.xml	3 May 2004 21:28:58 -0000	1.10
  @@ -9,15 +9,8 @@
   <?dbhtml filename="chapter08.html"?>
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="fstab.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernel.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/>
  -
  -
   
   </chapter>
  
  
  
  1.24      +1 -0      LFS/BOOK/chapter08/fstab.xml
  
  Index: fstab.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter08/fstab.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- fstab.xml	3 May 2004 10:59:43 -0000	1.23
  +++ fstab.xml	3 May 2004 21:28:58 -0000	1.24
  @@ -22,6 +22,7 @@
   /dev/xxx      /            fff      defaults        1     1
   /dev/yyy      swap         swap     pri=1           0     0
   proc          /proc        proc     defaults        0     0
  +sysfs         /sys         sysfs    defaults        0     0
   devpts        /dev/pts     devpts   gid=4,mode=620  0     0
   shm           /dev/shm     tmpfs    defaults        0     0
   
  
  
  
  1.22      +2 -2      LFS/BOOK/chapter08/grub.xml
  
  Index: grub.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter08/grub.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- grub.xml	3 May 2004 10:59:43 -0000	1.21
  +++ grub.xml	3 May 2004 21:28:58 -0000	1.22
  @@ -92,9 +92,9 @@
   color green/black light-green/black
   
   # The first entry is for LFS.
  -title LFS &milestone;
  +title LFS &milestone; (Linux &linux-version;)
   root (hd0,3)
  -kernel --no-mem-option /boot/lfskernel root=/dev/hda4
  +kernel --no-mem-option /boot/lfskernel-&linux-version; root=/dev/hda4
   <userinput>EOF</userinput></screen>
   
   <note><para>By default, Grub will automatically pass a <quote>mem=xxx</quote>
  
  
  
  1.31      +12 -24    LFS/BOOK/chapter08/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter08/kernel.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- kernel.xml	3 May 2004 10:59:43 -0000	1.30
  +++ kernel.xml	3 May 2004 21:28:58 -0000	1.31
  @@ -56,45 +56,33 @@
   <quote>Virtual memory file system support</quote> is enabled. It resides within
   the <quote>File systems</quote> menu and is normally enabled by default.</para>
   
  -<para>Verify dependencies and create dependency information files:</para>
  +<note><para>NPTL requires the kernel to be compiled with GCC 3.x, in this case
  +&gcc-version;. Compiling with 2.95.x is known to cause failures in the glibc
  +testsuite, so do <emphasis>not</emphasis> compile the kernel with gcc 2.95.x
  +unless you know what you're getting yourself into.</para></note>
   
  -<screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc dep</userinput></screen>
  +<para>Compile the kernel image and modules:</para>
   
  -<para>Compile the kernel image:</para>
  -
  -<screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc bzImage</userinput></screen>
  -
  -<para>Compile the drivers which have been configured as modules:</para>
  -
  -<screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules</userinput></screen>
  +<screen><userinput>make</userinput></screen>
   
   <para>If you intend to use kernel modules, you will need an
  -<filename>/etc/modules.conf</filename> file. Information pertaining
  +<filename>/etc/modprobe.conf</filename> file. Information pertaining
   to modules and to kernel configuration in general may be found in the
   kernel documentation, which is found in the
  -<filename>linux-2.4.25/Documentation</filename> directory. The
  +<filename>linux-&linux-version;/Documentation</filename> directory. The
   modules.conf man page and the kernel HOWTO at
   <ulink url="http://www.tldp.org/HOWTO/Kernel-HOWTO.html"/> may also be of
   interest to you.</para>
   
   <para>Install the modules:</para>
   
  -<screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc modules_install</userinput></screen>
  +<screen><userinput>make modules_install</userinput></screen>
   
   <para>If you have a lot of modules and very little space, you may want to
   consider stripping and compressing the modules. For most people such compression
   isn't worth the trouble, but if you're really pressed for space, then have a look at
   <ulink url="http://www.linux-mips.org/archives/linux-mips/2002-04/msg00031.html"/>.</para>
   
  -<para>As nothing is complete without documentation, build the manual pages
  -that come with the kernel:</para>
  -
  -<screen><userinput>make mandocs</userinput></screen>
  -
  -<para>And install these pages:</para>
  -
  -<screen><userinput>cp -a Documentation/man /usr/share/man/man9</userinput></screen>
  -
   <para>Kernel compilation has finished but more steps are required to complete
   the installation. Some files need to be copied to the <filename>/boot</filename>
   directory.</para>
  @@ -102,21 +90,21 @@
   <para>The path to the kernel image may vary depending on the platform you're
   using. Issue the following command to install the kernel:</para>
   
  -<screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel</userinput></screen>
  +<screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel-&linux-version;</userinput></screen>
   
   <para><filename>System.map</filename> is a symbol file for the kernel. It maps
   the function entry points of every function in the kernel API (Application Programming Interface), as well as the
   addresses of the kernel data structures for the running kernel. Issue the
   following command to install the map file:</para>
   
  -<screen><userinput>cp System.map /boot</userinput></screen>
  +<screen><userinput>cp System.map /boot/System.map-&linux-version;</userinput></screen>
   
   <para><filename>.config</filename> is the kernel configuration file that was
   produced by the <command>make menuconfig</command> step above. It contains all
   the config selections for the kernel that was just compiled. It's a good idea
   to keep this file for future reference:</para>
   
  -<screen><userinput>cp .config /boot/config-lfskernel</userinput></screen>
  +<screen><userinput>cp .config /boot/config-&linux-version;</userinput></screen>
   
   <para>It is important to note that the files in the kernel source directory are
   not owned by <emphasis>root</emphasis>. Whenever you unpack a package as user
  
  
  
  1.10      +0 -6      LFS/BOOK/chapter09/chapter09.xml
  
  Index: chapter09.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter09/chapter09.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- chapter09.xml	3 May 2004 10:59:44 -0000	1.9
  +++ chapter09.xml	3 May 2004 21:28:58 -0000	1.10
  @@ -9,14 +9,8 @@
   <?dbhtml filename="chapter09.html"?>
   
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="theend.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="getcounted.xml"/>
  -
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="reboot.xml"/>
  -
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="whatnow.xml"/>
  -
   
   </chapter>
  
  
  
  1.26      +4 -1      LFS/BOOK/chapter09/reboot.xml
  
  Index: reboot.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter09/reboot.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- reboot.xml	3 May 2004 10:59:44 -0000	1.25
  +++ reboot.xml	3 May 2004 21:28:58 -0000	1.26
  @@ -15,7 +15,10 @@
   <para>Then unmount the virtual files systems:</para>
   
   <screen><userinput>umount $LFS/dev/pts
  -umount $LFS/proc</userinput></screen>    
  +umount $LFS/dev/shm
  +umount $LFS/dev
  +umount $LFS/proc
  +umount $LFS/sys</userinput></screen>    
   
   <para>And unmount the LFS file system:</para>
   
  
  
  



More information about the lfs-book mailing list