Changeset 040521bc


Ignore:
Timestamp:
Sep 23, 2006, 3:30:38 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8953f24
Parents:
5921622
Message:

Sync up with 1.0 Book

Location:
BOOK
Files:
91 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/changingowner.xml

    r5921622 r040521bc  
    1111  <title>Changing Ownership</title>
    1212
    13   <para os="a">Currently, the <filename class="directory">$CLFS</filename>
     13  <para os="a">Currently, the <filename class="directory">${CLFS}</filename>
    1414  directory and all of its subdirectories  are owned by the user
    1515  <systemitem class="username">clfs</systemitem>, a user that exists only
    16   on the host system. For security reasons, the $CLFS root directory and
     16  on the host system. For security reasons, the ${CLFS} root directory and
    1717  all of it subdirectories should be owned by
    1818  <systemitem class="username">root</systemitem>. Change the ownership
    19   for $CLFS and its subdirectories by running this command:</para>
     19  for ${CLFS} and its subdirectories by running this command:</para>
    2020
    2121<screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
  • BOOK/boot/common/devices.xml

    r5921622 r040521bc  
    2121      <para>The commands in the remainder of the book should be run as
    2222      the <systemitem class="username">root</systemitem> user. Also,
    23       double-check that $CLFS is set as
     23      double-check that ${CLFS} is set as
    2424      <systemitem class="username">root</systemitem>.</para>
    2525    </note>
  • BOOK/boot/common/introduction.xml

    r5921622 r040521bc  
    1717  <para>There are a few additional packages that will need to be
    1818  installed to allow you to boot the minimal system. Some of these
    19   packages will be installed onto the root or in /usr on the CLFS
    20   partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the
     19  packages will be installed onto root or in /usr on the CLFS
     20  partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the
    2121  "DESTDIR" option with make. This will require the
    2222  <systemitem class="username">clfs</systemitem> user to have write access to
    23   the rest of the $CLFS partition, so you will need to temporarily change the
    24   ownership of $CLFS to the <systemitem class="username">clfs</systemitem> user.
     23  the rest of the CLFS partition, so you will need to temporarily change the
     24  ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user.
    2525  Run the following command as <systemitem
    2626  class="username">root</systemitem>:</para>
    2727
    28 <screen><userinput>chown -v clfs $CLFS</userinput></screen>
     28<screen><userinput>chown -v clfs ${CLFS}</userinput></screen>
    2929
    3030</sect1>
  • BOOK/boot/mips64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/mips64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/multilib/udev.xml

    r5921622 r040521bc  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
    30         udevdir=/dev</userinput></screen>
     29<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" \
     30    LD="${CC} ${BUILD64}"</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/sparc64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/sparc64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/x86/grub-build.xml

    r5921622 r040521bc  
    5656<screen os="ab"><userinput>make DESTDIR=${CLFS} install
    5757mkdir -v ${CLFS}/boot/grub
    58 cp -v ${CLFS}/usr/lib/grub/i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
     58cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
    5959
    60     <para os="ac">The <filename class="directory">i386-pc</filename> directory
    61     contains a number of <filename>*stage1_5</filename> files, different
    62     ones for different file systems. Review the files available and copy
    63     the appropriate ones to the <filename
     60    <para os="ac">The directory in
     61    <filename class="directory">${CLFS}/usr/lib/grub</filename> (its name
     62    depends on your arch) contains a number of <filename>*stage1_5</filename>
     63    files, different ones for different file systems. Review the files
     64    available and copy the appropriate ones to the <filename
    6465    class="directory">${CLFS}/boot/grub</filename> directory. Most users will
    6566    copy the <filename>e2fs_stage1_5</filename> and/or
  • BOOK/boot/x86_64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our build variables into our new system so that
    14   when we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/x86_64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/x86_64/grub-build.xml

    r5921622 r040521bc  
    6262    xpointer="xpointer(//*[@os='f'])"/>
    6363
    64 <screen os="ab"><userinput>make DESTDIR=${CLFS} install
    65 mkdir -v ${CLFS}/boot/grub
    66 cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../x86/grub-build.xml"
     66    xpointer="xpointer(//*[@os='ab'])"/>
    6767
    6868    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    69     href="../../final-system/x86_64/grub.xml"
    70     xpointer="xpointer(//*[@os='i'])"/>
     69    href="../x86/grub-build.xml"
     70    xpointer="xpointer(//*[@os='ac'])"/>
    7171
    72     <para os="j">The <filename class="directory">x86_64-pc</filename>
    73     directory contains a number of <filename>*stage1_5</filename>
    74     files, different ones for different file systems. Review the files
    75     available and copy the appropriate ones to the <filename
    76     class="directory">${CLFS}/boot/grub</filename> directory. Most
    77     users will copy the <filename>e2fs_stage1_5</filename> and/or
    78     <filename>reiserfs_stage1_5</filename> files.</para>
    7972
    8073  </sect2>
  • BOOK/bootscripts/common/udev-rules.xml

    r5921622 r040521bc  
    149149        <term><command>load_floppy_module.sh</command></term>
    150150        <listitem>
    151           <para>To be Written.</para>
     151          <para>Checks to see if a floppy drive exists before loading
     152          the floppy drive module into memory.</para>
    152153          <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh">
    153154            <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary>
     
    159160        <term><command>show_event_log</command></term>
    160161        <listitem>
    161           <para>To be Written.</para>
     162          <para>Displays Udev log messages from /var/log/messages.</para>
    162163          <indexterm zone="ch-scripts-udev-rules show_event_log">
    163164            <primary sortas="d-show_event_log">show_event_log</primary>
     
    176177      </varlistentry>
    177178
    178       <varlistentry id="udev_retry">
    179         <term><command>udev_retry</command></term>
    180         <listitem>
    181           <para>To be Written.</para>
    182           <indexterm zone="ch-scripts-udev-rules udev_retry">
    183             <primary sortas="d-udev_retry">udev_retry</primary>
    184           </indexterm>
    185         </listitem>
    186       </varlistentry>
    187 
    188179    </variablelist>
    189180
  • BOOK/chroot/common/chroot.xml

    r5921622 r040521bc  
    1717  temporary tools:</para>
    1818
    19 <screen><userinput>chroot "$CLFS" /tools/bin/env -i \
    20     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
     19<screen><userinput>chroot "${CLFS}" /tools/bin/env -i \
     20    HOME=/root TERM="${TERM}" PS1='\u:\w\$ ' \
    2121    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    2222    /tools/bin/bash --login +h</userinput></screen>
     
    2727  <envar>TERM</envar>, <envar>PS1</envar>, and
    2828  <envar>PATH</envar> variables are set again. The
    29   <parameter>TERM=$TERM</parameter> construct will set the
     29  <parameter>TERM=${TERM}</parameter> construct will set the
    3030  <envar>TERM</envar> variable inside chroot to the same value as
    3131  outside chroot. This variable is needed for programs like
     
    3838  <envar>CLFS</envar> variable anymore, because all work will be
    3939  restricted to the CLFS file system.  This is because the Bash shell is
    40   told that <filename class="directory">$CLFS</filename> is now the root
     40  told that <filename class="directory">${CLFS}</filename> is now the root
    4141  (<filename class="directory">/</filename>) directory.</para>
    4242
  • BOOK/chroot/common/kernfs.xml

    r5921622 r040521bc  
    2323  be mounted:</para>
    2424
    25 <screen><userinput>mkdir -pv $CLFS/{dev,proc,sys}</userinput></screen>
     25<screen><userinput>mkdir -pv ${CLFS}/{dev,proc,sys}</userinput></screen>
    2626
    2727  <para>Now mount the file systems:</para>
    2828
    29 <screen><userinput>mount -vt proc proc $CLFS/proc
    30 mount -vt sysfs sysfs $CLFS/sys</userinput></screen>
     29<screen><userinput>mount -vt proc proc ${CLFS}/proc
     30mount -vt sysfs sysfs ${CLFS}/sys</userinput></screen>
    3131
    3232  <para>Remember that if for any reason you stop working on the CLFS system
     
    3838  starting Udev early in the boot process, so we create them here:</para>
    3939
    40 <screen><userinput>mknod -m 600 $CLFS/dev/console c 5 1
    41 mknod -m 666 $CLFS/dev/null c 1 3</userinput></screen>
     40<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     41mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
     
    4848  appear in the new CLFS filesystem:</para>
    4949
    50 <screen><userinput>mount -v -o bind /dev $CLFS/dev</userinput></screen>
     50<screen><userinput>mount -v -o bind /dev ${CLFS}/dev</userinput></screen>
    5151
    5252  <para>Additional file systems will soon be mounted from within the chroot
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs $CLFS/dev/shm
    57 mount -f -vt devpts -o gid=4,mode=620 devpts $CLFS/dev/pts</userinput></screen>
     56<screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
     57mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
    5858
    5959</sect1>
  • BOOK/chroot/multilib/util-linux.xml

    r5921622 r040521bc  
    5555    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5656    href="../common/util-linux.xml"
     57    xpointer="xpointer(//*[@os='bg'])"/>
     58
     59    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     60    href="../common/util-linux.xml"
    5761    xpointer="xpointer(//*[@os='ce'])"/>
    5862
  • BOOK/chroot/x86_64/flags.xml

    r5921622 r040521bc  
    1212
    1313  <para>We will need to setup target specific flags for the compiler
    14   and linkers.</para>
     14  and linkers:</para>
    1515
    1616<screen><userinput>export BUILD32="-m32"
  • BOOK/cross-tools/alpha/gcc-final.xml

    r5921622 r040521bc  
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7474    href="gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    78     href="gcc-static.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
    8076
  • BOOK/cross-tools/alpha/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/alpha/glibc-headers.xml

    r5921622 r040521bc  
    5858   --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen>
    5959
    60     <warning os="e1">
     60    <note os="e1">
    6161      <para><emphasis>Any</emphasis> error message you see about nptl at this point
    6262      can safely be ignored.</para>
    63    </warning>
     63   </note>
    6464
    6565    <variablelist os="ca">
  • BOOK/cross-tools/mips/gcc-final.xml

    r5921622 r040521bc  
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7474    href="gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    78     href="gcc-static.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
    8076
  • BOOK/cross-tools/mips/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/mips64-64/gcc-final.xml

    r5921622 r040521bc  
    7070    href="gcc-static.xml"
    7171    xpointer="xpointer(//*[@os='aj'])"/>
    72 
    73     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    74     href="gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    7672
    7773    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/mips64-64/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/mips64/gcc-final.xml

    r5921622 r040521bc  
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8282    href="gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86     href="gcc-static.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
    8884
  • BOOK/cross-tools/mips64/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/multilib/glibc-64bit.xml

    r5921622 r040521bc  
    9191        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    9292        <listitem>
    93           <para>Forces Glibc to utilize our target architecture GCC utilizing
    94           the 64 Bit flags.</para>
     93          <para>Forces Glibc to build using our target architecture GCC
     94          utilizing the 64 Bit flags.</para>
    9595        </listitem>
    9696      </varlistentry>
  • BOOK/cross-tools/ppc/gcc-final.xml

    r5921622 r040521bc  
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7474    href="gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    78     href="gcc-static.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
    8076
  • BOOK/cross-tools/ppc/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/ppc64/gcc-final.xml

    r5921622 r040521bc  
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8282    href="gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86     href="gcc-static.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
    8884
  • BOOK/cross-tools/ppc64/gcc-static.xml

    r5921622 r040521bc  
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    70     href="../x86/gcc-static.xml"
    71     xpointer="xpointer(//*[@os='ak'])"/>
    72 
    73     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7470    href="../../final-system/common/gcc.xml"
    7571    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/sparc/gcc-final.xml

    r5921622 r040521bc  
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9090    href="gcc-static.xml"
    91     xpointer="xpointer(//*[@os='ak'])"/>
    92 
    93     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    94     href="gcc-static.xml"
    9591    xpointer="xpointer(//*[@os='f'])"/>
    9692
  • BOOK/cross-tools/sparc/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/sparc64-64/gcc-final.xml

    r5921622 r040521bc  
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8282    href="gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86     href="gcc-static.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
    8884
  • BOOK/cross-tools/sparc64-64/gcc-static.xml

    r5921622 r040521bc  
    6363
    6464    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    65     href="../x86/gcc-static.xml"
    66     xpointer="xpointer(//*[@os='ak'])"/>
    67 
    68     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6965    href="../../final-system/common/gcc.xml"
    7066    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/sparc64/gcc-final.xml

    r5921622 r040521bc  
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9090    href="gcc-static.xml"
    91     xpointer="xpointer(//*[@os='ak'])"/>
    92 
    93     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    94     href="gcc-static.xml"
    9591    xpointer="xpointer(//*[@os='f'])"/>
    9692
  • BOOK/cross-tools/sparc64/gcc-static.xml

    r5921622 r040521bc  
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    70     href="../x86/gcc-static.xml"
    71     xpointer="xpointer(//*[@os='ak'])"/>
    72 
    73     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7470    href="../../final-system/common/gcc.xml"
    7571    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/x86/gcc-final.xml

    r5921622 r040521bc  
    7676<screen os="be"><userinput>cp -v configure{,.orig}
    7777sed -e  '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen>
    78 
    79     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    80     href="gcc-static.xml"
    81     xpointer="xpointer(//*[@os='ak'])"/>
    8278
    8379    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86/gcc-static.xml

    r5921622 r040521bc  
    5454sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
    5555    gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>
    56 
    57     <important os="ak">
    58       <para>The above modifications are critical in ensuring a
    59       successful overall build. Do not forget to apply them.</para>
    60     </important>
    6156
    6257    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86_64-64/gcc-final.xml

    r5921622 r040521bc  
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7474    href="gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    78     href="gcc-static.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
    8076
  • BOOK/cross-tools/x86_64-64/gcc-static.xml

    r5921622 r040521bc  
    6363
    6464    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    65     href="../x86/gcc-static.xml"
    66     xpointer="xpointer(//*[@os='ak'])"/>
    67 
    68     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6965    href="../../final-system/common/gcc.xml"
    7066    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/cross-tools/x86_64/gcc-final.xml

    r5921622 r040521bc  
    8080    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8181    href="gcc-static.xml"
    82     xpointer="xpointer(//*[@os='ak'])"/>
    83 
    84     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    85     href="gcc-static.xml"
    8682    xpointer="xpointer(//*[@os='f'])"/>
    8783
  • BOOK/cross-tools/x86_64/gcc-static.xml

    r5921622 r040521bc  
    6565
    6666    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../x86/gcc-static.xml"
    68     xpointer="xpointer(//*[@os='ak'])"/>
    69 
    70     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7167    href="../../final-system/common/gcc.xml"
    7268    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/final-preps/aboutclfs.xml

    r5921622 r040521bc  
    99  <?dbhtml filename="aboutclfs.html"?>
    1010
    11   <title>About $CLFS</title>
     11  <title>About ${CLFS}</title>
    1212
    1313  <para>Throughout this book, the environment variable <envar>CLFS</envar> will
     
    1616  Check that the <envar>CLFS</envar> variable is set up properly with:</para>
    1717
    18 <screen><userinput>echo $CLFS</userinput></screen>
     18<screen><userinput>echo ${CLFS}</userinput></screen>
    1919
    2020  <para>Make sure the output shows the path to the CLFS partition's mount
     
    2626
    2727  <para>Having this variable set is beneficial in that commands such as
    28   <command>install -dv $CLFS/tools</command> can be typed literally. The shell
    29   will automatically replace <quote>$CLFS</quote> with
     28  <command>install -dv ${CLFS}/tools</command> can be typed literally. The shell
     29  will automatically replace <quote>${CLFS}</quote> with
    3030  <quote>/mnt/clfs</quote> (or whatever the variable was set to) when it
    3131  processes the command line.</para>
    3232
    33   <para>If you haven't created the <filename class="directory">$CLFS</filename>
     33  <para>If you haven't created the <filename class="directory">${CLFS}</filename>
    3434  directory, do so at this time by issuing the following commands:</para>
    3535
    36 <screen><userinput>install -dv $CLFS</userinput></screen>
     36<screen><userinput>install -dv ${CLFS}</userinput></screen>
    3737
    38   <para>Do not forget to check that <envar>$CLFS</envar> is set whenever
     38  <para>Do not forget to check that <envar>${CLFS}</envar> is set whenever
    3939  you leave and reenter the current working environment (as when doing a
    4040  <quote>su</quote> to <systemitem class="username">root</systemitem> or
  • BOOK/final-preps/addinguser.xml

    r5921622 r040521bc  
    7979
    8080  <para>Grant <systemitem class="username">clfs</systemitem> full access to
    81   <filename class="directory">$CLFS/cross-tools</filename> and
    82   <filename class="directory">$CLFS/tools</filename> by making <systemitem
     81  <filename class="directory">${CLFS}/cross-tools</filename> and
     82  <filename class="directory">${CLFS}/tools</filename> by making <systemitem
    8383  class="username">clfs</systemitem> the directorys' owner:</para>
    8484
    85 <screen><userinput>chown -v clfs $CLFS/tools
    86 chown -v clfs $CLFS/cross-tools</userinput></screen>
     85<screen><userinput>chown -v clfs ${CLFS}/tools
     86chown -v clfs ${CLFS}/cross-tools</userinput></screen>
    8787
    8888  <para>If a separate working directory was created as suggested,
    8989  give user <systemitem class="username">clfs</systemitem> ownership of this directory:</para>
    9090
    91 <screen><userinput>chown -v clfs $CLFS/sources</userinput></screen>
     91<screen><userinput>chown -v clfs ${CLFS}/sources</userinput></screen>
    9292
    9393  <para>Next, login as user <systemitem class="username">clfs</systemitem>.
  • BOOK/final-preps/creatingcrossdir.xml

    r5921622 r040521bc  
    99  <?dbhtml filename="creatingcrossdir.html"?>
    1010
    11   <title>Creating the $CLFS/cross-tools Directory</title>
     11  <title>Creating the ${CLFS}/cross-tools Directory</title>
    1212
    1313  <para>The cross-binutils and cross-compiler built in
    1414  <xref linkend="chapter-cross-tools"/> will be installed under
    15   <filename class="directory">$CLFS/cross-tools</filename> to keep them
     15  <filename class="directory">${CLFS}/cross-tools</filename> to keep them
    1616  separate from the host programs. The programs compiled here are
    1717  cross-tools and will not be a part of the final CLFS system or the
     
    2222  <systemitem class="username">root</systemitem>:</para>
    2323
    24 <screen><userinput>install -dv $CLFS/cross-tools</userinput></screen>
     24<screen><userinput>install -dv ${CLFS}/cross-tools</userinput></screen>
    2525
    2626  <para>The next step is to create a <filename
     
    2929  Run this command as  <systemitem class="username">root</systemitem> as well:</para>
    3030
    31 <screen><userinput>ln -sv $CLFS/cross-tools /</userinput></screen>
     31<screen><userinput>ln -sv ${CLFS}/cross-tools /</userinput></screen>
    3232
    3333  <para>The symlink isn't technically necessary (though the book's
    3434  instructions do assume its existence), but is there mainly for
    35   consistency (because /tools is also symlinked to $CLFS/tools) and to
     35  consistency (because /tools is also symlinked to ${CLFS}/tools) and to
    3636  simplify the installation of the cross-compile tools.</para>
    3737
  • BOOK/final-preps/creatingtoolsdir.xml

    r5921622 r040521bc  
    99  <?dbhtml filename="creatingtoolsdir.html"?>
    1010
    11   <title>Creating the $CLFS/tools Directory</title>
     11  <title>Creating the ${CLFS}/tools Directory</title>
    1212
    1313  <para>All programs compiled in <xref linkend="chapter-temp-system"/>
    14   will be installed under <filename class="directory">$CLFS/tools</filename>
     14  will be installed under <filename class="directory">${CLFS}/tools</filename>
    1515  to keep them separate from the programs compiled in <xref
    1616  linkend="chapter-building-system"/>. The programs compiled here are
     
    2424  <systemitem class="username">root</systemitem>:</para>
    2525
    26 <screen><userinput>install -dv $CLFS/tools</userinput></screen>
     26<screen><userinput>install -dv ${CLFS}/tools</userinput></screen>
    2727
    2828  <para>The next step is to create a <filename class="symlink">/tools</filename>
     
    3131  class="username">root</systemitem> as well:</para>
    3232
    33 <screen><userinput>ln -sv $CLFS/tools /</userinput></screen>
     33<screen><userinput>ln -sv ${CLFS}/tools /</userinput></screen>
    3434
    3535  <note>
  • BOOK/final-preps/settingenviron.xml

    r5921622 r040521bc  
    1717
    1818<screen os="b"><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
    19 <literal>exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash</literal>
     19<literal>exec env -i HOME=${HOME} TERM=${TERM} PS1='\u:\w\$ ' /bin/bash</literal>
    2020EOF</userinput></screen>
    2121
     
    5656  the shell will always search the <envar>PATH</envar> when a program is to
    5757  be run. As such, the shell will find the newly compiled tools in
    58   <filename class="directory">$CLFS/cross-tools</filename> as soon as they are
     58  <filename class="directory">/cross-tools</filename> as soon as they are
    5959  available without remembering a previous version of the same program in a
    6060  different location.</para>
  • BOOK/final-system/alpha/aboot.xml

    r5921622 r040521bc  
    2323
    2424  <sect2 role="installation">
    25     <title>Installation of Aboot</title>
     25    <title>Installation of aboot</title>
    2626
    2727    <para os="aa">The following patch addresses build issues with GCC &gcc-version;:</para>
     
    6969        <term><command>e2writeboot</command></term>
    7070        <listitem>
    71           <para>Can be used to write a secondary bootstrap loader to an
     71          <para>Can  be  used to write a secondary bootstrap loader to an
    7272          ext2 formatted filesystem (normally on a floppy disk).</para>
    7373          <indexterm zone="ch-system-aboot e2writeboot">
  • BOOK/final-system/common/findutils.xml

    r5921622 r040521bc  
    5858<screen os="h"><userinput>make install</userinput></screen>
    5959
    60     <para os="i">Find from Findutils is used by some of the scripts
     60    <para os="i">The <command>find</command> program is used by some of the scripts
    6161    in the CLFS-Bootscripts package. As <filename
    6262    class="directory">/usr</filename> may not be available during the early
  • BOOK/final-system/common/module-init-tools.xml

    r5921622 r040521bc  
    6565        <term><parameter>INSTALL=install</parameter></term>
    6666        <listitem>
    67           <para>Normally, make install will not install the binaries if they
     67          <para>Normally, <command>make install</command> will not install the binaries if they
    6868          already exist. This option overrides that behavior by calling
    6969          <command>install</command> instead of using the default wrapper
  • BOOK/final-system/common/ncurses.xml

    r5921622 r040521bc  
    5454ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
    5555
    56     <para os="l">Give the Ncurses libraries execute permissions:</para>
     56    <para os="l">Give the Ncurses dynamic libraries execute permissions:</para>
    5757
    5858<screen os="m"><userinput>chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
  • BOOK/final-system/common/perl.xml

    r5921622 r040521bc  
    2828    <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
    2929    to be built with -fPIC so it can be linked into a shared library
    30     later.</para>
     30    later:</para>
    3131
    3232<screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
  • BOOK/final-system/common/stripping.xml

    r5921622 r040521bc  
    3333    <para os="e">Then reenter it with:</para>
    3434
    35 <screen os="f" role="nodump"><userinput>chroot $CLFS /tools/bin/env -i \
    36     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
     35<screen os="f" role="nodump"><userinput>chroot ${CLFS} /tools/bin/env -i \
     36    HOME=/root TERM=${TERM} PS1='\u:\w\$ ' \
    3737    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
    3838    /tools/bin/bash --login</userinput></screen>
  • BOOK/final-system/common/sysklogd.xml

    r5921622 r040521bc  
    6666mail.*                          -/var/log/mail.log
    6767user.*                          -/var/log/user.log
    68 *.=info;*.=notice;*.=warn;
    69 auth,authpriv.none;
    70 cron,daemon.none;
     68*.=info;*.=notice;*.=warn;\
     69auth,authpriv.none;\
     70cron,daemon.none;\
    7171mail,news.none                  -/var/log/messages.log
    7272
  • BOOK/final-system/common/udev.xml

    r5921622 r040521bc  
    3030<screen os="b"><userinput>make EXTRAS="extras/floppy extras/cdrom_id extras/firmware \
    3131    extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \
    32     extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev</userinput></screen>
     32    extras/edd_id extras/dasd_id extras/path_id"</userinput></screen>
    3333
    3434    <variablelist os="c">
     
    6161    EXTRAS="extras/floppy extras/cdrom_id extras/firmware \
    6262    extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \
    63     extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev install</userinput></screen>
     63    extras/edd_id extras/dasd_id extras/path_id" install</userinput></screen>
    6464
    6565    <variablelist os="i">
  • BOOK/final-system/mips/dvhtool.xml

    r5921622 r040521bc  
    3131  </note>
    3232
    33     <para os="b">This patch updates for the Arcload bootloader:</para>
     33    <para os="b">This patch fixes build issues with Dvhtool and adds support
     34    for LVM and Linux partitions:</para>
    3435
    3536<screen os="c"><userinput>patch -Np1 -i ../&dvhtool-fixes-patch;</userinput></screen>
     
    5657
    5758      <seglistitem>
    58         <seg>To be Determined</seg>
     59        <seg>dvhtool</seg>
    5960      </seglistitem>
    6061    </segmentedlist>
    6162
    62 <!--
    6363    <variablelist>
    6464      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     
    6666      <?dbhtml list-presentation="table"?>
    6767
    68       <varlistentry id="colo-chain.elf">
    69         <term><command>colo</command></term>
     68      <varlistentry id="dvhtool">
     69        <term><command>dvhtool</command></term>
    7070        <listitem>
    71           <para>Is the Cobalt Bootloader's chain mode executeable. This
    72           file gets gzipped and renamed to <filename>vmlinux.gz</filename>,
    73           so it can be booted automatically by the Cobalt's existing
    74           firmware</para>
    75           <indexterm zone="ch-system-colo colo-chain.elf">
    76             <primary sortas="b-colo-chain.elf">colo-chain.elf</primary>
     71          <para>A utility for displaying SGI disk partition and volume header
     72          information as well as for copying files to and from the volume
     73          header</para>
     74          <indexterm zone="ch-system-dvhtool dvhtool">
     75            <primary sortas="b-dvhtool">dvhtool</primary>
    7776          </indexterm>
    7877        </listitem>
     
    8079
    8180    </variablelist>
    82 -->
    8381
    8482  </sect2>
  • BOOK/final-system/multilib/texinfo.xml

    r5921622 r040521bc  
    1 
    21<?xml version="1.0" encoding="ISO-8859-1"?>
    32<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  • BOOK/final-system/multilib/udev.xml

    r5921622 r040521bc  
    2222    <title>Installation of Udev</title>
    2323
    24     <para os="p1">This patch updates moves /lib/udev to /lib64/udev, to keep
     24    <para os="p1">This patch moves /lib/udev to /lib64/udev, to keep
    2525    system consistency:</para>
    2626
     
    3333<screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
    3434 EXTRAS="extras/cdrom_id extras/floppy extras/firmware extras/scsi_id extras/volume_id \
    35             extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev</userinput></screen>
     35            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id"</userinput></screen>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc/elftoaout.xml

    r5921622 r040521bc  
    4747
    4848      <seglistitem>
    49         <seg>Unchecked</seg>
     49        <seg>elf2aout</seg>
    5050      </seglistitem>
    5151    </segmentedlist>
     
    5959        <term><command>elftoaout</command></term>
    6060        <listitem>
    61           <para>Need Description</para>
     61          <para>Converts an ELF-formatted file to Sparc a.out format for use
     62          with openprom</para>
    6263          <indexterm zone="ch-system-elftoaout elftoaout">
    6364            <primary sortas="a-elftoaout">elftoaout</primary>
  • BOOK/final-system/sparc/silo.xml

    r5921622 r040521bc  
    6969        <term><command>silocheck</command></term>
    7070        <listitem>
    71           <para>Checks to see wether a file is readable
    72            by silo. (very handy if you have larger disks.).</para>
     71          <para>Checks to see whether a file is readable
     72           by silo (very handy if you have larger disks).</para>
    7373          <indexterm zone="ch-system-silo silocheck">
    7474            <primary sortas="a-silocheck">silocheck</primary>
     
    8181        <listitem>
    8282          <para>Is a file that is called by the tilo command to build
    83           a TFTP boot image..</para>
     83          a TFTP boot image.</para>
    8484          <indexterm zone="ch-system-silo maketilo">
    8585            <primary sortas="a-maketilo">maketilo</primary>
  • BOOK/final-system/x86/glibc.xml

    r5921622 r040521bc  
    238238    <filename>/etc/localtime</filename> file by running:</para>
    239239
    240 <screen><userinput>cp -fv /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     240<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
    241241    /etc/localtime</userinput></screen>
    242242
  • BOOK/final-system/x86/grub.xml

    r5921622 r040521bc  
    5454<screen os="g"><userinput>make install
    5555mkdir -pv /boot/grub
    56 cp -v /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
     56cp -v /usr/lib/grub/*/stage{1,2} /boot/grub</userinput></screen>
    5757
    58     <para os="h">Replace <filename class="directory">i386-pc</filename> with whatever
    59     directory is appropriate for the hardware in use.</para>
    60 
    61     <para os="i">The <filename class="directory">i386-pc</filename> directory
    62     contains a number of <filename>*stage1_5</filename> files, different
    63     ones for different file systems. Review the files available and copy
    64     the appropriate ones to the <filename
     58    <para os="h">The directory in
     59    <filename class="directory">/usr/lib/grub</filename> (its name depends
     60    on your arch) contains a number of <filename>*stage1_5</filename> files,
     61    different ones for different file systems. Review the files available and
     62    copy the appropriate ones to the <filename
    6563    class="directory">/boot/grub</filename> directory. Most users will
    6664    copy the <filename>e2fs_stage1_5</filename> and/or
  • BOOK/final-system/x86/linux-headers.xml

    r5921622 r040521bc  
    5353
    5454      <seglistitem>
    55         <seg>/usr/include/{asm,linux}/*.h</seg>
     55        <seg>/usr/include/{asm,asm-generic,linux,mtd,scsi,sound}/*.h</seg>
    5656      </seglistitem>
    5757    </segmentedlist>
     
    6464      <varlistentry id="linux-headers">
    6565        <term><filename
    66         class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
     66        class="headerfile">/usr/include/{asm,asm-generic,linux,mtd,scsi,sound}/*.h</filename></term>
    6767        <listitem>
    6868          <para>The Linux API headers</para>
  • BOOK/final-system/x86_64/grub.xml

    r5921622 r040521bc  
    5757    xpointer="xpointer(//*[@os='f'])"/>
    5858
    59 <screen os="h"><userinput>make install
    60 mkdir -v /boot/grub
    61 cp -v /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen>
     59    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     60    href="../x86/grub.xml"
     61    xpointer="xpointer(//*[@os='g'])"/>
    6262
    63     <para os="i">Replace <filename class="directory">x86_64-pc</filename> with whatever
    64     directory is appropriate for the hardware in use.</para>
    65 
    66     <para os="j">The <filename class="directory">x86_64-pc</filename> directory
    67     contains a number of <filename>*stage1_5</filename> files, different
    68     ones for different file systems. Review the files available and copy
    69     the appropriate ones to the <filename
    70     class="directory">/boot/grub</filename> directory. Most users will
    71     copy the <filename>e2fs_stage1_5</filename> and/or
    72     <filename>reiserfs_stage1_5</filename> files.</para>
     63    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     64    href="../x86/grub.xml"
     65    xpointer="xpointer(//*[@os='h'])"/>
    7366
    7467  </sect2>
  • BOOK/general.ent

    r5921622 r040521bc  
    33<!ENTITY month "09"> <!-- Use two digits -->
    44<!ENTITY month_name "September">
    5 <!ENTITY day "18"> <!-- Use two digits -->
     5<!ENTITY day "22"> <!-- Use two digits -->
    66<!ENTITY year "2006"> <!-- Use four digits -->
    77
  • BOOK/introduction/common/how.xml

    r5921622 r040521bc  
    1212
    1313  <para>The CLFS system will be built by using a previously installed
    14   Linux distribution (such as Debian, Fedora, Mandriva, SUSE, or Ubuntu).
    15   This existing Linux system (the host) will be used as a starting point to
    16   provide necessary programs, including a compiler, linker, and shell,
     14  Unix system or Linux distribution (such as Debian, Fedora, Mandriva, SUSE,
     15  or Ubuntu). This existing system (the host) will be used as a starting
     16  point to provide necessary programs, including a compiler, linker, and shell,
    1717  to build the new system. Select the <quote>development</quote> option
    1818  during the distribution installation to be able to access these
     
    5959
    6060  <para>After we build our <quote>Cross-Tools</quote>, we start building
    61   a very minimal working system in /tools. This effort to isolate the new
    62   system from the host distribution may seem excessive, but a full technical
    63   explanation is provided at the beginning of
    64   <xref linkend="chapter-temp-system"/>.</para>
     61  a very minimal working system in /tools. This minimal system will be built
     62  using the cross-toolchain in /cross-tools.</para>
    6563
    6664  <para>In <xref linkend="chapter-building-system"/>, the full CLFS system is
  • BOOK/materials/common/introduction.xml

    r5921622 r040521bc  
    3030  that is conveniently available throughout the entire build. A working
    3131  directory is also required to unpack the sources and build them.
    32   <filename class="directory">$CLFS/sources</filename> can be used both
     32  <filename class="directory">${CLFS}/sources</filename> can be used both
    3333  as the place to store the tarballs and patches and as a working
    3434  directory. By using this directory, the required elements will be
     
    4040  starting the download session:</para>
    4141
    42 <screen><userinput>mkdir -v $CLFS/sources</userinput></screen>
     42<screen><userinput>mkdir -v ${CLFS}/sources</userinput></screen>
    4343
    4444  <para>Make this directory writable and sticky. When a directory is
     
    4848  write and sticky modes:</para>
    4949
    50 <screen><userinput>chmod -v a+wt $CLFS/sources</userinput></screen>
     50<screen><userinput>chmod -v a+wt ${CLFS}/sources</userinput></screen>
    5151
    5252</sect1>
  • BOOK/materials/common/patches.xml

    r5921622 r040521bc  
    7474
    7575    <varlistentry>
    76       <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term>
    77       <listitem>
    78         <para>Download: <ulink
    79         url="&patches-root;&coreutils-uname-patch;"/></para>
    80         <para>MD5 sum: <literal>&coreutils-uname-patch-md5;</literal></para>
    81       </listitem>
    82     </varlistentry>
    83 
    84     <varlistentry>
    8576      <term>Expect Spawn Patch - <token>&expect-spawn-patch-size;</token>:</term>
    8677      <listitem>
     
    164155
    165156    <varlistentry>
    166       <term>Inetutils inet_addr Fix Patch - <token>&inetutils-inet_addr_fix-patch-size;</token>:</term>
     157      <term>Inetutils inet_addr Patch - <token>&inetutils-inet_addr_fix-patch-size;</token>:</term>
    167158      <listitem>
    168159        <para>Download: <ulink
     
    232223        url="&patches-root;&readline-fixes-patch;"/></para>
    233224        <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
    234       </listitem>
    235     </varlistentry>
    236 
    237     <varlistentry>
    238       <term>Shadow Useradd Fix Patch - <token>&shadow-useradd_fix-patch-size;</token>:</term>
    239       <listitem>
    240         <para>Download: <ulink
    241         url="&patches-root;&shadow-useradd_fix-patch;"/></para>
    242         <para>MD5 sum: <literal>&shadow-useradd_fix-patch-md5;</literal></para>
    243225      </listitem>
    244226    </varlistentry>
  • BOOK/materials/mips/packages.xml

    r5921622 r040521bc  
    99  <?dbhtml filename="packages-mips.html"?>
    1010
    11   <title>Additional Packages for MIPS 32 Bits</title>
     11  <title>Additional Packages for MIPS</title>
    1212
    1313  <variablelist role="materials">
  • BOOK/materials/mips/patches.xml

    r5921622 r040521bc  
    99  <?dbhtml filename="patches-mips.html"?>
    1010
    11   <title>Additional Patches for MIPS 32 Bits</title>
     11  <title>Additional Patches for MIPS</title>
    1212
    1313  <variablelist role="materials">
  • BOOK/partitioning/common/creatingpartition.xml

    r5921622 r040521bc  
    1515  system is to use an available empty partition or, if you have enough
    1616  unpartitioned space, to create one. However, if your building for a different
    17   architecture you can simply build everyting in <quote>/mnt/clfs</quote>
     17  architecture you can simply build everything in <quote>/mnt/clfs</quote>
    1818  and transfer it to your target machine.</para>
    1919
  • BOOK/partitioning/common/mounting.xml

    r5921622 r040521bc  
    2626  running:</para>
    2727
    28 <screen><userinput>mkdir -pv $CLFS
    29 mount -v /dev/<replaceable>[xxx]</replaceable> $CLFS</userinput></screen>
     28<screen><userinput>mkdir -pv ${CLFS}
     29mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen>
    3030
    3131  <para>Replace <replaceable>[xxx]</replaceable> with the designation of
     
    3636  class="directory">/usr</filename>), mount them using:</para>
    3737
    38 <screen><userinput>mkdir -pv $CLFS
    39 mount -v /dev/<replaceable>[xxx]</replaceable> $CLFS
    40 mkdir -v $CLFS/usr
    41 mount -v /dev/<replaceable>[yyy]</replaceable> $CLFS/usr</userinput></screen>
     38<screen><userinput>mkdir -pv ${CLFS}
     39mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}
     40mkdir -v ${CLFS}/usr
     41mount -v /dev/<replaceable>[yyy]</replaceable> ${CLFS}/usr</userinput></screen>
    4242
    4343  <para>Replace <replaceable>[xxx]</replaceable> and
  • BOOK/prologue/common/typography.xml

    r5921622 r040521bc  
    4040  and websites.</para>
    4141
    42 <screen role="nodump"><userinput>cat &gt; $CLFS/etc/group &lt;&lt; "EOF"
     42<screen role="nodump"><userinput>cat &gt; ${CLFS}/etc/group &lt;&lt; "EOF"
    4343<literal>root:x:0:
    4444bin:x:1:
     
    4848  <para>This format is used when creating configuration files. The first
    4949  command tells the system to create the file
    50   <filename>$CLFS/etc/group</filename> from whatever is typed on the
     50  <filename>${CLFS}/etc/group</filename> from whatever is typed on the
    5151  following lines until the sequence end of file (EOF) is encountered.
    5252  Therefore, this entire section is generally typed as seen.</para>
  • BOOK/temp-system/alpha/gcc.xml

    r5921622 r040521bc  
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    74     href="../../cross-tools/alpha/gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7874    href="../../final-system/common/gcc.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/common/bash.xml

    r5921622 r040521bc  
    3434    </para>
    3535
    36 <screen os="c4"><userinput> echo "bash_cv_sys_named_pipes=yes" >> config.cache</userinput></screen>
     36<screen os="c4"><userinput>echo "bash_cv_sys_named_pipes=yes" >> config.cache</userinput></screen>
    3737
    3838    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/common/choose.xml

    r5921622 r040521bc  
    1616  rest there. Alternatively, you can chroot into the temporary system.</para>
    1717
    18   <para os="b">The boot method is for when you are building on a different
     18  <para os="b">The boot method is needed when you are building on a different
    1919  architecture. For example, if you are building a PowerPC system from
    2020  an x86, you can't chroot. The chroot method is for when you are
     
    3434  method.</para>
    3535
     36  <para>To chroot, you will also need a Linux Kernel-2.6.x (having been
     37  compiled with GCC-3.0 or greater). The reason for the kernel version
     38  requirement is that, without it, thread-local storage support in Binutils
     39  will not be built and the Native POSIX Threading Library (NPTL) test suite
     40  will segfault.</para>
     41
     42  <para>To check your kernel version, run <command>cat /proc/version</command>
     43  - if it does not say that you are running a 2.6.2 or later Linux kernel,
     44  compiled with GCC 3.0 or later, you cannot chroot.</para>
     45
    3646  <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para>
    3747
  • BOOK/temp-system/common/introduction.xml

    r5921622 r040521bc  
    1919  <para>The tools in this chapter are cross-compiled using the toolchain in
    2020  /cross-tools and will be installed under the
    21   <filename class="directory">$CLFS/tools</filename> directory to keep
     21  <filename class="directory">${CLFS}/tools</filename> directory to keep
    2222  them separate from the files installed in <xref
    2323  linkend="chapter-building-system"/> and the host production directories.
     
    2828  variable is set up properly:</para>
    2929
    30 <screen><userinput>echo $CLFS</userinput></screen>
     30<screen><userinput>echo ${CLFS}</userinput></screen>
    3131
    3232  <para>Make sure the output shows the path to the CLFS partition's mount
  • BOOK/temp-system/mips/gcc.xml

    r5921622 r040521bc  
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    74     href="../../cross-tools/mips/gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7874    href="../../final-system/common/gcc.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/mips64-64/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/mips64-64/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/mips64/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/mips64/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/ppc/gcc.xml

    r5921622 r040521bc  
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    74     href="../../cross-tools/ppc/gcc-static.xml"
    75     xpointer="xpointer(//*[@os='ak'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7874    href="../../final-system/common/gcc.xml"
    7975    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/ppc64/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/x86_64/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/sparc/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/sparc/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/sparc64-64/gcc.xml

    r5921622 r040521bc  
    8888
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    90     href="../../cross-tools/sparc64-64/gcc-static.xml"
    91     xpointer="xpointer(//*[@os='ak'])"/>
    92 
    93     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9490    href="../../final-system/common/gcc.xml"
    9591    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/sparc64/gcc.xml

    r5921622 r040521bc  
    8888
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    90     href="../../cross-tools/sparc64/gcc-static.xml"
    91     xpointer="xpointer(//*[@os='ak'])"/>
    92 
    93     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9490    href="../../final-system/common/gcc.xml"
    9591    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/x86/gcc.xml

    r5921622 r040521bc  
    7070
    7171    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    72     href="../../cross-tools/x86/gcc-static.xml"
    73     xpointer="xpointer(//*[@os='ak'])"/>
    74 
    75     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7672    href="../../final-system/common/gcc.xml"
    7773    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/x86_64-64/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/x86_64-64/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
  • BOOK/temp-system/x86_64/gcc.xml

    r5921622 r040521bc  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    82     href="../../cross-tools/x86_64/gcc-static.xml"
    83     xpointer="xpointer(//*[@os='ak'])"/>
    84 
    85     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8682    href="../../final-system/common/gcc.xml"
    8783    xpointer="xpointer(//*[@os='f'])"/>
     
    112108        <term><parameter>CXX="${CXX} ${BUILD64}"</parameter></term>
    113109        <listitem>
    114           <para>This forces the C++ compiler to use our Build 64 FLAGS.</para>
     110          <para>This forces the C++ compiler to use our 64 Bit flags.</para>
    115111        </listitem>
    116112      </varlistentry>
  • BOOK/testsuite-tools/mips/expect.xml

    r5921622 r040521bc  
    4242    xpointer="xpointer(//*[@os='b'])"/>
    4343
    44     <para os="p1">This patch updates <filename>config.guess</filename>
    45     and <filename>config.sub</filename> for MIPS processors:</para>
     44    <para os="p1">This patch updates <filename>config.guess</filename> and
     45    <filename>config.sub</filename> for MIPS processors:</para>
    4646
    4747<screen os="p2"><userinput>patch -Np1 -i ../&expect-config_update-patch;</userinput></screen>
  • BOOK/the-end/reboot.xml

    r5921622 r040521bc  
    3737  <para>Then unmount the virtual file systems:</para>
    3838
    39 <screen><userinput>umount $CLFS/dev/pts
    40 umount $CLFS/dev/shm
    41 umount $CLFS/dev
    42 umount $CLFS/proc
    43 umount $CLFS/sys</userinput></screen>
     39<screen><userinput>umount ${CLFS}/dev/pts
     40umount ${CLFS}/dev/shm
     41umount ${CLFS}/dev
     42umount ${CLFS}/proc
     43umount ${CLFS}/sys</userinput></screen>
    4444
    4545  <para>Unmount the CLFS file system itself:</para>
    4646
    47 <screen><userinput>umount $CLFS</userinput></screen>
     47<screen><userinput>umount ${CLFS}</userinput></screen>
    4848
    4949  <para>If multiple partitions were created, unmount the other
    5050  partitions before unmounting the main one, like this:</para>
    5151
    52 <screen><userinput>umount $CLFS/usr
    53 umount $CLFS/home
    54 umount $CLFS</userinput></screen>
     52<screen><userinput>umount ${CLFS}/usr
     53umount ${CLFS}/home
     54umount ${CLFS}</userinput></screen>
    5555
    5656  <para>Now, reboot the system with:</para>
Note: See TracChangeset for help on using the changeset viewer.