Changeset f1fd69a for boot


Ignore:
Timestamp:
Jul 1, 2006, 11:52:01 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
6ea30c8
Parents:
b18d234
Message:

r4227@server: jim | 2006-07-01 23:46:16 -0700
More LFS to CLFS Updates

Location:
boot
Files:
51 edited

Legend:

Unmodified
Added
Removed
  • boot/alpha/aboot-build.xml

    rb18d234 rf1fd69a  
    3333    <para>Install the package:</para>
    3434
    35 <screen><userinput>make root="${LFS}" bindir=/cross-tools/bin install</userinput></screen>
     35<screen><userinput>make root="${CLFS}" bindir=/cross-tools/bin install</userinput></screen>
    3636
    3737  </sect2>
  • boot/alpha/aboot.xml

    rb18d234 rf1fd69a  
    2121<screen><userinput>cat &gt; /etc/aboot.conf &lt;&lt; "EOF"
    2222<literal># Begin /etc/aboot.conf
    23 0:1/boot/lfskernel-&linux-version; root=/dev/sda1
     230:1/boot/clfskernel-&linux-version; root=/dev/sda1
    2424# End /etc/aboot.conf</literal>
    2525EOF</userinput></screen>
  • boot/common/bootscripts.xml

    rb18d234 rf1fd69a  
    2525    <para>Install the package:</para>
    2626
    27 <screen><userinput>make ETCDIR=${LFS}/etc minimal</userinput></screen>
     27<screen><userinput>make ETCDIR=${CLFS}/etc minimal</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4242    xpointer="xpointer(//*[@os='c'])"/>
    4343
    44 <screen><userinput>cat &gt; ${LFS}/etc/sysconfig/clock &lt;&lt; "EOF"
     44<screen><userinput>cat &gt; ${CLFS}/etc/sysconfig/clock &lt;&lt; "EOF"
    4545<literal># Begin /etc/sysconfig/clock
    4646
  • boot/common/changingowner.xml

    rb18d234 rf1fd69a  
    1313  <para os="a">Currently, the <filename class="directory">$CLFS</filename>
    1414  directory and all of its subdirectories  are owned by the user
    15   <systemitem class="username">lfs</systemitem>, a user that exists only
     15  <systemitem class="username">clfs</systemitem>, a user that exists only
    1616  on the host system. For security reasons, the $CLFS root directory and
    1717  all of it subdirectories should be owned by
     
    1919  for $CLFS and its subdirectories by running this command:</para>
    2020
    21 <screen os="b"><userinput>chown -Rv root:root ${LFS}</userinput></screen>
     21<screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
    2222
    2323</sect1>
  • boot/common/createfiles.xml

    rb18d234 rf1fd69a  
    1616  the next chapter after the software has been installed.</para>
    1717
    18 <screen><userinput>ln -sv /tools/bin/{bash,cat,grep,pwd,stty} ${LFS}/bin
    19 ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
    20 ln -sv /tools/lib/libstd* ${LFS}/usr/lib
    21 ln -sv bash ${LFS}/bin/sh</userinput></screen>
     18<screen><userinput>ln -sv /tools/bin/{bash,cat,grep,pwd,stty} ${CLFS}/bin
     19ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
     20ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
     21ln -sv bash ${CLFS}/bin/sh</userinput></screen>
    2222
    2323</sect1>
  • boot/common/creatingdirs.xml

    rb18d234 rf1fd69a  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen><userinput>mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
    17 mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
    18 install -dv -m 0750 ${LFS}/root
    19 install -dv -m 1777 ${LFS}{/var,}/tmp
    20 mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src}
    21 mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man}
    22 mkdir -v  ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
    23 mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8}
    24 for dir in ${LFS}/usr{,/local}; do
     16<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
     17mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     18install -dv -m 0750 ${CLFS}/root
     19install -dv -m 1777 ${CLFS}{/var,}/tmp
     20mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
     21mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
     22mkdir -v  ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     23mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
     24for dir in ${CLFS}/usr{,/local}; do
    2525  ln -sv share/{man,doc,info} $dir
    2626done
    27 mkdir -v ${LFS}/var/{lock,log,mail,run,spool}
    28 mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
     27mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
     28mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
    2929
    3030  <para os="b">Directories are, by default, created with permission mode 755,
     
    3535
    3636  <para os="c">The first mode change ensures that not just anybody can enter
    37   the <filename class="directory">${LFS}/root</filename> directory&mdash;the
     37  the <filename class="directory">${CLFS}/root</filename> directory&mdash;the
    3838  same as a normal user would do with his or her home directory. The
    3939  second mode change makes sure that any user can write to the
    40   <filename class="directory">${LFS}/tmp</filename> and
    41   <filename class="directory">${LFS}/var/tmp</filename> directories, but
     40  <filename class="directory">${CLFS}/tmp</filename> and
     41  <filename class="directory">${CLFS}/var/tmp</filename> directories, but
    4242  cannot remove another user's files from them. The latter is prohibited
    4343  by the so-called <quote>sticky bit,</quote> the highest bit (1) in the
  • boot/common/devices.xml

    rb18d234 rf1fd69a  
    99  <?dbhtml filename="devices.html"?>
    1010
    11   <title>Populating ${LFS}/dev</title>
     11  <title>Populating ${CLFS}/dev</title>
    1212
    1313  <indexterm zone="ch-boot-devices">
    14     <primary sortas="e-${LFS}/dev/*">${LFS}/dev/*</primary>
     14    <primary sortas="e-${CLFS}/dev/*">${CLFS}/dev/*</primary>
    1515  </indexterm>
    1616
     
    3535    the following commands:</para>
    3636
    37 <screen><userinput>mknod -m 600 ${LFS}/dev/console c 5 1
    38 mknod -m 666 ${LFS}/dev/null c 1 3</userinput></screen>
     37<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     38mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
    3939
    4040  </sect2>
  • boot/common/e2fsprogs.xml

    rb18d234 rf1fd69a  
    6262    <para os="h">Install the binaries and documentation:</para>
    6363
    64 <screen os="i"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     64<screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    6565
    6666    <variablelist os="j">
     
    6868
    6969      <varlistentry>
    70         <term><parameter>DESTDIR=${LFS}</parameter></term>
     70        <term><parameter>DESTDIR=${CLFS}</parameter></term>
    7171        <listitem>
    7272          <para>The Makefile for e2fsprogs hard-codes a path to the
     
    8787    <para os="ad">Create needed symlinks for a bootable system:</para>
    8888
    89 <screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</userinput></screen>
     89<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${CLFS}/sbin</userinput></screen>
    9090
    9191  </sect2>
  • boot/common/fstab.xml

    rb18d234 rf1fd69a  
    99  <?dbhtml filename="fstab.html"?>
    1010
    11   <title>Creating the ${LFS}/etc/fstab File</title>
     11  <title>Creating the ${CLFS}/etc/fstab File</title>
    1212
    1313  <indexterm zone="ch-boot-fstab">
    14     <primary sortas="e-${LFS}/etc/fstab">${LFS}/etc/fstab</primary>
     14    <primary sortas="e-${CLFS}/etc/fstab">${CLFS}/etc/fstab</primary>
    1515  </indexterm>
    1616
    17   <para os="a">The <filename>${LFS}/etc/fstab</filename> file is used by some
     17  <para os="a">The <filename>${CLFS}/etc/fstab</filename> file is used by some
    1818  programs to determine where file systems are to be mounted by default,
    1919  which must be checked, and in which order. Create a new file systems
    2020  table like this:</para>
    2121
    22 <screen><userinput>cat &gt; ${LFS}/etc/fstab &lt;&lt; "EOF"
     22<screen><userinput>cat &gt; ${CLFS}/etc/fstab &lt;&lt; "EOF"
    2323<literal># Begin /etc/fstab
    2424
  • boot/common/introduction.xml

    rb18d234 rf1fd69a  
    2020  partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the
    2121  "DESTDIR" option with make. This will require the
    22   <systemitem class="username">lfs</systemitem> user to have write access to
     22  <systemitem class="username">clfs</systemitem> user to have write access to
    2323  the rest of the $CLFS partition, so you will need to temporarily change the
    24   ownership of $CLFS to the <systemitem class="username">lfs</systemitem> user.
     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 lfs $CLFS</userinput></screen>
     28<screen><userinput>chown -v clfs $CLFS</userinput></screen>
    2929
    3030</sect1>
  • boot/common/module-init-tools.xml

    rb18d234 rf1fd69a  
    4242    xpointer="xpointer(//*[@os='j'])"/>
    4343
    44 <screen os="k"><userinput>make DESTDIR="${LFS}" install</userinput></screen>
     44<screen os="k"><userinput>make DESTDIR="${CLFS}" install</userinput></screen>
    4545
    4646  </sect2>
  • boot/common/pwdgroup.xml

    rb18d234 rf1fd69a  
    1212
    1313  <indexterm zone="ch-boot-pwdgroup">
    14     <primary sortas="e-${LFS}/etc/passwd">${LFS}/etc/passwd</primary>
     14    <primary sortas="e-${CLFS}/etc/passwd">${CLFS}/etc/passwd</primary>
    1515  </indexterm>
    1616
    1717  <indexterm zone="ch-boot-pwdgroup">
    18     <primary sortas="e-${LFS}/etc/group">${LFS}/etc/group</primary>
     18    <primary sortas="e-${CLFS}/etc/group">${CLFS}/etc/group</primary>
    1919  </indexterm>
    2020
    2121  <indexterm zone="ch-boot-pwdgroup">
    22     <primary sortas="e-${LFS}/var/run/utmp">${LFS}/var/run/utmp</primary>
     22    <primary sortas="e-${CLFS}/var/run/utmp">${CLFS}/var/run/utmp</primary>
    2323  </indexterm>
    2424
    2525  <indexterm zone="ch-boot-pwdgroup">
    26     <primary sortas="e-${LFS}/var/log/btmp">${LFS}/var/log/btmp</primary>
     26    <primary sortas="e-${CLFS}/var/log/btmp">${CLFS}/var/log/btmp</primary>
    2727  </indexterm>
    2828
    2929  <indexterm zone="ch-boot-pwdgroup">
    30     <primary sortas="e-${LFS}/var/log/lastlog">${LFS}/var/log/lastlog</primary>
     30    <primary sortas="e-${CLFS}/var/log/lastlog">${CLFS}/var/log/lastlog</primary>
    3131  </indexterm>
    3232
    3333  <indexterm zone="ch-boot-pwdgroup">
    34     <primary sortas="e-${LFS}/var/log/wtmp">${LFS}/var/log/wtmp</primary>
     34    <primary sortas="e-${CLFS}/var/log/wtmp">${CLFS}/var/log/wtmp</primary>
    3535  </indexterm>
    3636
    3737  <para>In order for user <systemitem class="username">root</systemitem> to
    3838  be able to login and for the name <quote>root</quote> to be recognized,
    39   there must be relevant entries in the <filename>${LFS}/etc/passwd</filename>
    40   and <filename>${LFS}/etc/group</filename> files.</para>
     39  there must be relevant entries in the <filename>${CLFS}/etc/passwd</filename>
     40  and <filename>${CLFS}/etc/group</filename> files.</para>
    4141
    42   <para>Create the <filename>${LFS}/etc/passwd</filename> file by running
     42  <para>Create the <filename>${CLFS}/etc/passwd</filename> file by running
    4343  the following command:</para>
    4444
    45 <screen><userinput>cat &gt; ${LFS}/etc/passwd &lt;&lt; "EOF"
     45<screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
    4646<literal>root:x:0:0:root:/root:/bin/bash</literal>
    4747EOF</userinput></screen>
     
    5151  later.</para>
    5252
    53   <variablelist os="b">
    54  
    55     <title>Additional users you may want to add:</title>
    56 
    57     <varlistentry>
    58       <term><literal>bin:x:1:1:bin:/bin:/bin/false</literal></term>
    59       <listitem>
    60         <para>To be written</para>
    61       </listitem>
    62     </varlistentry>
    63     <varlistentry>
    64       <term><literal>daemon:x:2:6:daemon:/sbin:/bin/false</literal></term>
    65       <listitem>
    66         <para>To be written</para>
    67       </listitem>
    68     </varlistentry>
    69     <varlistentry>
    70       <term><literal>adm:x:3:16:adm:/var/adm:/bin/false</literal></term>
    71       <listitem>
    72         <para>To be written</para>
    73       </listitem>
    74     </varlistentry>
    75     <varlistentry>
    76       <term><literal>lp:x:10:9:lp:/var/spool/lp:/bin/false</literal></term>
    77       <listitem>
    78         <para>To be written</para>
    79       </listitem>
    80     </varlistentry>
    81     <varlistentry>
    82       <term><literal>mail:x:30:30:mail:/var/mail:/bin/false</literal></term>
    83       <listitem>
    84         <para>To be written</para>
    85       </listitem>
    86     </varlistentry>
    87     <varlistentry>
    88       <term><literal>news:x:31:31:news:/var/spool/news:/bin/false</literal></term>
    89       <listitem>
    90         <para>To be written</para>
    91       </listitem>
    92     </varlistentry>
    93     <varlistentry>
    94       <term><literal>uucp:x:32:32:uucp:/var/spool/uucp:/bin/false</literal></term>
    95       <listitem>
    96         <para>To be written</para>
    97       </listitem>
    98     </varlistentry>
    99     <varlistentry>
    100       <term><literal>operator:x:50:0:operator:/root:/bin/bash</literal></term>
    101       <listitem>
    102         <para>To be written</para>
    103       </listitem>
    104     </varlistentry>
    105     <varlistentry>
    106       <term><literal>postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false</literal></term>
    107       <listitem>
    108         <para>To be written</para>
    109       </listitem>
    110     </varlistentry>
    111     <varlistentry>
    112       <term><literal>nobody:x:65534:65534:nobody:/:/bin/false</literal></term>
    113       <listitem>
    114         <para>To be written</para>
    115       </listitem>
    116     </varlistentry>
    117   </variablelist>
    118 
    119   <para>Create the <filename>${LFS}/etc/group</filename> file by running
     53  <para>Create the <filename>${CLFS}/etc/group</filename> file by running
    12054  the following command:</para>
    12155
    122 <screen><userinput>cat &gt; ${LFS}/etc/group &lt;&lt; "EOF"
     56<screen><userinput>cat &gt; ${CLFS}/etc/group &lt;&lt; "EOF"
    12357<literal>root:x:0:
    12458bin:x:1:
     
    217151  proper permissions:</para>
    218152
    219 <screen><userinput>touch ${LFS}/var/run/utmp ${LFS}/var/log/{btmp,lastlog,wtmp}
    220 chmod -v 664 ${LFS}/var/run/utmp ${LFS}/var/log/lastlog
    221 chmod -v 600 ${LFS}/var/log/btmp</userinput></screen>
     153<screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
     154chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
     155chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
    222156
    223   <para>The <filename>${LFS}/var/run/utmp</filename> file records the users
    224   that are currently logged in. The <filename>${LFS}/var/log/wtmp</filename>
     157  <para>The <filename>${CLFS}/var/run/utmp</filename> file records the users
     158  that are currently logged in. The <filename>${CLFS}/var/log/wtmp</filename>
    225159  file records all logins and logouts. The
    226   <filename>${LFS}/var/log/lastlog</filename> file records when
    227   each user last logged in. The <filename>${LFS}/var/log/btmp</filename> file
     160  <filename>${CLFS}/var/log/lastlog</filename> file records when
     161  each user last logged in. The <filename>${CLFS}/var/log/btmp</filename> file
    228162  records the bad login attempts.</para>
    229163
  • boot/common/settingenviron.xml

    rb18d234 rf1fd69a  
    1515  <filename>.bash_profile</filename> file now:</para>
    1616
    17 <screen><userinput>cat &gt; ${LFS}/root/.bash_profile &lt;&lt; "EOF"
     17<screen><userinput>cat &gt; ${CLFS}/root/.bash_profile &lt;&lt; "EOF"
    1818<literal>set +h
    1919PS1='\u:\w\$ '
  • boot/common/sysvinit.xml

    rb18d234 rf1fd69a  
    2828<screen os="ab"><userinput>cp -v src/Makefile src/Makefile.orig
    2929sed -e 's@root@0@g' \
    30     -e "s@/dev/initctl@${LFS}&amp;@g" \
     30    -e "s@/dev/initctl@${CLFS}&amp;@g" \
    3131    -e 's@\(mknod \)-m \([0-9]* \)\(.* \)p@\1\3p; chmod \2\3@g' \
    3232    -e "s@/usr/lib@/tools/lib@" \
     
    4444    xpointer="xpointer(//*[@os='e'])"/>
    4545
    46 <screen os="ad"><userinput>make -C src install INSTALL="install" ROOT="${LFS}"</userinput></screen>
     46<screen os="ad"><userinput>make -C src install INSTALL="install" ROOT="${CLFS}"</userinput></screen>
    4747
    4848  </sect2>
     
    5757
    5858    <indexterm zone="conf-tools-sysvinit">
    59       <primary sortas="e-${LFS}/etc/inittab">${LFS}/etc/inittab</primary>
     59      <primary sortas="e-${CLFS}/etc/inittab">${CLFS}/etc/inittab</primary>
    6060    </indexterm>
    6161
    62     <para os="ae">Create a new file <filename>${LFS}/etc/inittab</filename> by
     62    <para os="ae">Create a new file <filename>${CLFS}/etc/inittab</filename> by
    6363    running the following:</para>
    6464
    65 <screen os="af"><userinput>cat &gt; ${LFS}/etc/inittab &lt;&lt; "EOF"
     65<screen os="af"><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    6666<literal># Begin /etc/inittab
    6767
  • boot/common/udev-rules.xml

    rb18d234 rf1fd69a  
    99  <?dbhtml filename="udev-rules.html"?>
    1010
    11   <title>Udev Rules-&udev-cross-lfs-version;</title>
     11  <title>Udev Rules-&udev-cross-CLFS-version;</title>
    1212
    1313  <indexterm zone="ch-boot-udev-rules">
     
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen><userinput>rm -vf ${LFS}/etc/udev/rules.d/*</userinput></screen>
     28<screen><userinput>rm -vf ${CLFS}/etc/udev/rules.d/*</userinput></screen>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    3232    xpointer="xpointer(//*[@os='c'])"/>
    3333
    34 <screen><userinput>make DESTDIR=${LFS} install-minimal</userinput></screen>
     34<screen><userinput>make DESTDIR=${CLFS} install-minimal</userinput></screen>
    3535
    3636  </sect2>
  • boot/common/udev.xml

    rb18d234 rf1fd69a  
    3333    xpointer="xpointer(//*[@os='g'])"/>
    3434
    35 <screen os="h"><userinput>make DESTDIR=${LFS} udevdir=/dev install</userinput></screen>
     35<screen os="h"><userinput>make DESTDIR=${CLFS} udevdir=/dev install</userinput></screen>
    3636
    3737  </sect2>
  • boot/common/util-linux.xml

    rb18d234 rf1fd69a  
    125125<screen os="bi"><userinput>make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no \
    126126    USE_TTY_GROUP=no CPUOPT="" ARCH="" \
    127     CPU="" DESTDIR=${LFS} install</userinput></screen>
     127    CPU="" DESTDIR=${CLFS} install</userinput></screen>
    128128
    129129  </sect2>
  • boot/common/whatnext.xml

    rb18d234 rf1fd69a  
    1212
    1313  <para>Now you're at the point to get your <filename
    14   class="directory">${LFS}</filename> directory copied over to your target
     14  class="directory">${CLFS}</filename> directory copied over to your target
    1515  machine. The easiest method would be to tar it up and copy the file.</para>
    1616
    17 <screen><userinput>tar -jcvf ${LFS}.tar.bz2 ${LFS}</userinput></screen>
     17<screen><userinput>tar -jcvf ${CLFS}.tar.bz2 ${CLFS}</userinput></screen>
    1818
    1919  <para>Some others have came up with other ideas on how to do this.
  • boot/mips/colo-build.xml

    rb18d234 rf1fd69a  
    4040    xpointer="xpointer(//*[@os='c'])"/>
    4141
    42 <screen os="ab"><userinput>cp -v chain/colo-chain.elf ${LFS}/boot/vmlinux
    43 gzip -9 ${LFS}/boot/vmlinux</userinput></screen>
     42<screen os="ab"><userinput>cp -v chain/colo-chain.elf ${CLFS}/boot/vmlinux
     43gzip -9 ${CLFS}/boot/vmlinux</userinput></screen>
    4444
    4545  </sect2>
  • boot/mips/colo.xml

    rb18d234 rf1fd69a  
    2828  xpointer="xpointer(//*[@os='d'])"/>
    2929
    30 <screen os="aa"><userinput>cat &gt; ${LFS}/boot/default.colo &lt;&lt; "EOF"
     30<screen os="aa"><userinput>cat &gt; ${CLFS}/boot/default.colo &lt;&lt; "EOF"
    3131#:CoLo:#
    3232#
  • boot/mips/creatingdirs.xml

    rb18d234 rf1fd69a  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
    18 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -dv ${LFS}/root -m 0750
    20 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
    21 install -dv ${LFS}/media/{floppy,cdrom}
    22 install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src}
    23 ln -sv share/{man,doc,info} ${LFS}/usr
    24 install -dv ${LFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
    28 ln -sv share/{man,doc,info} ${LFS}/usr/local
    29 install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${LFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
    34 install -dv ${LFS}/opt/{bin,doc,include,info}
    35 install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     17<screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
     18install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv ${CLFS}/root -m 0750
     20install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
     21install -dv ${CLFS}/media/{floppy,cdrom}
     22install -dv ${CLFS}/usr/{bin,include,lib,sbin,share,src}
     23ln -sv share/{man,doc,info} ${CLFS}/usr
     24install -dv ${CLFS}/usr/share/{doc,info,locale,man}
     25install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
     26install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv ${CLFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
     28ln -sv share/{man,doc,info} ${CLFS}/usr/local
     29install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
     30install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv ${CLFS}/var/{lock,log,mail,run,spool}
     33install -dv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
     34install -dv ${CLFS}/opt/{bin,doc,include,info}
     35install -dv ${CLFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3636
    3737   <para>These entries are needed for the RaQ2 bootloader. Only use these
    3838   if you are utilizing the Colo bootloader:</para>
    3939
    40 <screen><userinput>cd /${LFS}/boot
     40<screen><userinput>cd /${CLFS}/boot
    4141ln -svf . boot</userinput></screen>
    4242
  • boot/mips/kernel.xml

    rb18d234 rf1fd69a  
    9292
    9393<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET)- \
    94    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     94   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9595
    9696    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    102102    xpointer="xpointer(//*[@os='v'])"/>
    103103
    104 <screen><userinput>cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version;
    105 gzip -9 ${LFS}/boot/vmlinux-&linux-version;</userinput></screen>
     104<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
     105gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
    106106
    107107    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/mips/sysvinit.xml

    rb18d234 rf1fd69a  
    5858
    5959    <indexterm zone="conf-tools-sysvinit">
    60       <primary sortas="e-${LFS}/etc/inittab">${LFS}/etc/inittab</primary>
     60      <primary sortas="e-${CLFS}/etc/inittab">${CLFS}/etc/inittab</primary>
    6161    </indexterm>
    6262
    63     <para>Create a new file <filename>${LFS}/etc/inittab</filename> by
     63    <para>Create a new file <filename>${CLFS}/etc/inittab</filename> by
    6464    running the following:</para>
    6565
    66 <screen><userinput>cat &gt; ${LFS}/etc/inittab &lt;&lt; "EOF"
     66<screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    6767<literal># Begin /etc/inittab
    6868
  • boot/mips64-64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    1717
    1818</sect1>
  • boot/mips64/createfiles.xml

    rb18d234 rf1fd69a  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${LFS}/bin
    18 ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
    19 ln -sv /tools/lib32/libgcc_s.so{,.1} ${LFS}/usr/lib32
    20 ln -sv /tools/lib64/libgcc_s.so{,.1} ${LFS}/usr/lib64
    21 ln -sv /tools/lib/libstd* ${LFS}/usr/lib
    22 ln -sv /tools/lib32/libstd* ${LFS}/usr/lib32
    23 ln -sv /tools/lib64/libstd* ${LFS}/usr/lib64
    24 ln -sv bash ${LFS}/bin/sh</userinput></screen>
     17<screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin
     18ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
     19ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
     20ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
     21ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
     22ln -sv /tools/lib32/libstd* ${CLFS}/usr/lib32
     23ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64
     24ln -sv bash ${CLFS}/bin/sh</userinput></screen>
    2525
    2626</sect1>
  • boot/mips64/creatingdirs.xml

    rb18d234 rf1fd69a  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
    18 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -dv ${LFS}/root -m 0750
    20 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
    21 install -dv ${LFS}/media/{floppy,cdrom}
    22 install -dv ${LFS}/usr/{bin,include,lib{,32,64},sbin,share,src}
    23 ln -sv share/{man,doc,info} ${LFS}/usr
    24 install -dv ${LFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${LFS}/usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
    28 ln -sv share/{man,doc,info} ${LFS}/usr/local
    29 install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${LFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${LFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
    34 install -dv ${LFS}/opt/{bin,doc,include,info}
    35 install -dv ${LFS}/opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
    36 install -dv ${LFS}/usr/lib/locale
    37 ln -sv ../lib/locale ${LFS}/usr/lib32
    38 ln -sv ../lib/locale ${LFS}/usr/lib64</userinput></screen>
     17<screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
     18install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv ${CLFS}/root -m 0750
     20install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
     21install -dv ${CLFS}/media/{floppy,cdrom}
     22install -dv ${CLFS}/usr/{bin,include,lib{,32,64},sbin,share,src}
     23ln -sv share/{man,doc,info} ${CLFS}/usr
     24install -dv ${CLFS}/usr/share/{doc,info,locale,man}
     25install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
     26install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
     28ln -sv share/{man,doc,info} ${CLFS}/usr/local
     29install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
     30install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv ${CLFS}/var/{lock,log,mail,run,spool}
     33install -dv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
     34install -dv ${CLFS}/opt/{bin,doc,include,info}
     35install -dv ${CLFS}/opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
     36install -dv ${CLFS}/usr/lib/locale
     37ln -sv ../lib/locale ${CLFS}/usr/lib32
     38ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
    3939
    4040   <para>These entries are needed for the RaQ2 bootloader. Only use these
    4141   if you are utilizing the Colo bootloader:</para>
    4242
    43 <screen><userinput>cd /${LFS}/boot
     43<screen><userinput>cd /${CLFS}/boot
    4444ln -svf . boot</userinput></screen>
    4545
  • boot/mips64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    17 echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    18 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    19 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     17echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     18echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     19echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    2020
    2121</sect1>
  • boot/mips64/kernel.xml

    rb18d234 rf1fd69a  
    9696
    9797<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    98    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     98   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9999
    100100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    106106    xpointer="xpointer(//*[@os='v'])"/>
    107107
    108 <screen><userinput>cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version;
    109 gzip -9 ${LFS}/boot/vmlinux-&linux-version;</userinput></screen>
     108<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
     109gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
    110110
    111111    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/multilib/createfiles.xml

    rb18d234 rf1fd69a  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${LFS}/bin
    18 ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
    19 ln -sv /tools/lib64/libgcc_s.so{,.1} ${LFS}/usr/lib64
    20 ln -sv /tools/lib/libstd* ${LFS}/usr/lib
    21 ln -sv /tools/lib64/libstd* ${LFS}/usr/lib64
    22 ln -sv bash ${LFS}/bin/sh</userinput></screen>
     17<screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin
     18ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
     19ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
     20ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
     21ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64
     22ln -sv bash ${CLFS}/bin/sh</userinput></screen>
    2323
    2424</sect1>
  • boot/multilib/creatingdirs.xml

    rb18d234 rf1fd69a  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
    18 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -dv ${LFS}/root -m 0750
    20 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
    21 install -dv ${LFS}/media/{floppy,cdrom}
    22 install -dv ${LFS}/usr/{bin,include,lib{,64},sbin,share,src}
    23 ln -sv share/{man,doc,info} ${LFS}/usr
    24 install -dv ${LFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${LFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
    28 ln -sv share/{man,doc,info} ${LFS}/usr/local
    29 install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${LFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${LFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    34 install -dv ${LFS}/opt/{bin,doc,include,info}
    35 install -dv ${LFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
    36 install -dv ${LFS}/usr/lib/locale
    37 ln -sv ../lib/locale ${LFS}/usr/lib64</userinput></screen>
     17<screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
     18install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv ${CLFS}/root -m 0750
     20install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
     21install -dv ${CLFS}/media/{floppy,cdrom}
     22install -dv ${CLFS}/usr/{bin,include,lib{,64},sbin,share,src}
     23ln -sv share/{man,doc,info} ${CLFS}/usr
     24install -dv ${CLFS}/usr/share/{doc,info,locale,man}
     25install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
     26install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
     28ln -sv share/{man,doc,info} ${CLFS}/usr/local
     29install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
     30install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv ${CLFS}/var/{lock,log,mail,run,spool}
     33install -dv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
     34install -dv ${CLFS}/opt/{bin,doc,include,info}
     35install -dv ${CLFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
     36install -dv ${CLFS}/usr/lib/locale
     37ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
    3838
    3939  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/ppc/kernel.xml

    rb18d234 rf1fd69a  
    8989
    9090<screen><userinput>make ARCH=ppc CROSS_COMPILE=${CLFS_TARGET}- \
    91    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     91   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9292
    9393    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9999    xpointer="xpointer(//*[@os='v'])"/>
    100100
    101 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     101<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    102102
    103103    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/ppc/yaboot-build.xml

    rb18d234 rf1fd69a  
    4848    but it will try to use <command>strip</command> to strip the second-stage
    4949    loader.  It also expects to be running as root for the install, and to
    50     install for the root user, which user LFS cannot do.  The following command
     50    install for the root user, which user CLFS cannot do.  The following command
    5151    will fix this:</para>
    5252
  • boot/ppc64/kernel.xml

    rb18d234 rf1fd69a  
    8888
    8989<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    90    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     90   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9191
    9292    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9898    xpointer="xpointer(//*[@os='v'])"/>
    9999
    100 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     100<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    101101
    102102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/ppc64/yaboot-build.xml

    rb18d234 rf1fd69a  
    5050    but it will try to use <command>strip</command> to strip the second-stage
    5151    loader.  It also expects to be running as root for the install, and to
    52     install for the root user, which user LFS cannot do.  We also need to use
     52    install for the root user, which user CLFS cannot do.  We also need to use
    5353    the 32-bit compiler, and to force <command>ld</command> to use a 32-bit
    5454    emulation. The following commands will fix and achieve this:</para>
  • boot/sparc/fstab.xml

    rb18d234 rf1fd69a  
    99  <?dbhtml filename="fstab.html"?>
    1010
    11   <title>Creating the ${LFS}/etc/fstab File</title>
     11  <title>Creating the ${CLFS}/etc/fstab File</title>
    1212
    1313  <indexterm zone="ch-boot-fstab">
    14     <primary sortas="e-${LFS}/etc/fstab">${LFS}/etc/fstab</primary>
     14    <primary sortas="e-${CLFS}/etc/fstab">${CLFS}/etc/fstab</primary>
    1515  </indexterm>
    1616
     
    1919  xpointer="xpointer(//*[@os='a'])"/>
    2020
    21 <screen><userinput>cat &gt; ${LFS}/etc/fstab &lt;&lt; "EOF"
     21<screen><userinput>cat &gt; ${CLFS}/etc/fstab &lt;&lt; "EOF"
    2222<literal># Begin /etc/fstab
    2323
  • boot/sparc/kernel.xml

    rb18d234 rf1fd69a  
    8484
    8585<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
    86    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     86   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    8787
    8888    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9494    xpointer="xpointer(//*[@os='v'])"/>
    9595
    96 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     96<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    9797
    9898    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/sparc/silo-build.xml

    rb18d234 rf1fd69a  
    4141    xpointer="xpointer(//*[@os='d'])"/>
    4242
    43 <screen os="ab"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     43<screen os="ab"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4444
    4545  </sect2>
  • boot/sparc/silo.xml

    rb18d234 rf1fd69a  
    1919  to what is in bootscripts.</para>
    2020
    21 <screen><userinput>cat &gt; ${LFS}/etc/silo.conf &lt;&lt; "EOF"
     21<screen><userinput>cat &gt; ${CLFS}/etc/silo.conf &lt;&lt; "EOF"
    2222<literal># Begin /etc/silo.conf
    2323partition = 1         # Boot partition (= root partition)
     
    2525timeout = 150         # Wait 15 seconds before booting the default section
    2626
    27 image = /boot/lfskernel-&linux-version;
     27image = /boot/clfskernel-&linux-version;
    2828  label = linux
    2929# End /etc/silo.conf</literal>
  • boot/sparc/sysvinit.xml

    rb18d234 rf1fd69a  
    5858
    5959    <indexterm zone="conf-tools-sysvinit">
    60       <primary sortas="e-${LFS}/etc/inittab">${LFS}/etc/inittab</primary>
     60      <primary sortas="e-${CLFS}/etc/inittab">${CLFS}/etc/inittab</primary>
    6161    </indexterm>
    6262
    63     <para>Create a new file <filename>${LFS}/etc/inittab</filename> by
     63    <para>Create a new file <filename>${CLFS}/etc/inittab</filename> by
    6464    running the following:</para>
    6565
    66 <screen><userinput>cat &gt; ${LFS}/etc/inittab &lt;&lt; "EOF"
     66<screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    6767<literal># Begin /etc/inittab
    6868
  • boot/sparc64-64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    1717
    1818</sect1>
  • boot/sparc64-64/silo-build.xml

    rb18d234 rf1fd69a  
    5151    xpointer="xpointer(//*[@os='f'])"/>
    5252
    53 <screen os="ac"><userinput>tar -xvf silo-loaders-&silo-version;.tar.gz -C ${LFS}</userinput></screen>
     53<screen os="ac"><userinput>tar -xvf silo-loaders-&silo-version;.tar.gz -C ${CLFS}</userinput></screen>
    5454
    5555  </sect2>
  • boot/sparc64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    17 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    18 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     17echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     18echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    1919
    2020</sect1>
  • boot/sparc64/kernel.xml

    rb18d234 rf1fd69a  
    8585    xpointer="xpointer(//*[@os='s'])"/>
    8686
    87 <screen><userinput>make INSTALL_MOD_PATH=${LFS} ARCH=sparc64 \
     87<screen><userinput>make INSTALL_MOD_PATH=${CLFS} ARCH=sparc64 \
    8888   CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
    8989
     
    9696    xpointer="xpointer(//*[@os='v'])"/>
    9797
    98 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     98<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    9999
    100100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • boot/x86/grub-build.xml

    rb18d234 rf1fd69a  
    5454    xpointer="xpointer(//*[@os='f'])"/>
    5555
    56 <screen os="ab"><userinput>make DESTDIR=${LFS} install
    57 mkdir -v ${LFS}/boot/grub
    58 cp -v ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
     56<screen os="ab"><userinput>make DESTDIR=${CLFS} install
     57mkdir -v ${CLFS}/boot/grub
     58cp -v ${CLFS}/usr/lib/grub/i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
    5959
    6060    <para os="ac">The <filename class="directory">i386-pc</filename> directory
     
    6262    ones for different file systems. Review the files available and copy
    6363    the appropriate ones to the <filename
    64     class="directory">${LFS}/boot/grub</filename> directory. Most users will
     64    class="directory">${CLFS}/boot/grub</filename> directory. Most users will
    6565    copy the <filename>e2fs_stage1_5</filename> and/or
    6666    <filename>reiserfs_stage1_5</filename> files.</para>
  • boot/x86/grub.xml

    rb18d234 rf1fd69a  
    2424  xpointer="xpointer(//*[@os='c'])"/>
    2525
    26 <screen os="d"><userinput>dd if=${LFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
    27 dd if=${LFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1</userinput></screen>
     26<screen os="d"><userinput>dd if=${CLFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
     27dd if=${CLFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1</userinput></screen>
    2828
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6464
    6565  <para os="n">If all went well, GRUB will have reported finding its files
    66   in <filename class="directory">${LFS}/boot/grub</filename>. That's
     66  in <filename class="directory">${CLFS}/boot/grub</filename>. That's
    6767  all there is to it. Quit the <command>grub</command> shell:</para>
    6868
     
    7575  xpointer="xpointer(//*[@os='p'])"/>
    7676
    77 <screen><userinput>cat &gt; ${LFS}/boot/grub/menu.lst &lt;&lt; "EOF"
     77<screen><userinput>cat &gt; ${CLFS}/boot/grub/menu.lst &lt;&lt; "EOF"
    7878<literal># Begin /boot/grub/menu.lst
    7979
     
    9090title CLFS &version;
    9191root (hd0,3)
    92 kernel /boot/lfskernel-&linux-version; root=/dev/hda4</literal>
     92kernel /boot/clfskernel-&linux-version; root=/dev/hda4</literal>
    9393EOF</userinput></screen>
    9494
     
    9797  xpointer="xpointer(//*[@os='q'])"/>
    9898
    99 <screen os="r"><userinput>cat &gt;&gt; ${LFS}/boot/grub/menu.lst &lt;&lt; "EOF"
     99<screen os="r"><userinput>cat &gt;&gt; ${CLFS}/boot/grub/menu.lst &lt;&lt; "EOF"
    100100<literal>title Red Hat
    101101root (hd0,2)
  • boot/x86/kernel.xml

    rb18d234 rf1fd69a  
    7272
    7373    <para os="af">If the use of kernel modules can't be avoided, an
    74     <filename>${LFS}/etc/modprobe.conf</filename> file may be needed.
     74    <filename>${CLFS}/etc/modprobe.conf</filename> file may be needed.
    7575    Information pertaining to modules and kernel configuration is
    7676    located in the kernel documentation in the <filename
     
    9292
    9393<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    94     INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     94    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9595
    9696    <para os="u">After kernel compilation is complete, additional steps are
    9797    required to complete the installation. Some files need to be copied to
    98     the <filename class="directory">${LFS}/boot</filename> directory.</para>
     98    the <filename class="directory">${CLFS}/boot</filename> directory.</para>
    9999
    100100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    102102    xpointer="xpointer(//*[@os='v'])"/>
    103103
    104 <screen><userinput>cp -v arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     104<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    105105
    106106    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    108108    xpointer="xpointer(//*[@os='w'])"/>
    109109
    110 <screen os="w1"><userinput>cp -v System.map ${LFS}/boot/System.map-&linux-version;</userinput></screen>
     110<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
    111111
    112112    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    114114    xpointer="xpointer(//*[@os='x'])"/>
    115115
    116 <screen os="x1"><userinput>cp -v .config ${LFS}/boot/config-&linux-version;</userinput></screen>
     116<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
    117117
    118118  </sect2>
  • boot/x86_64-64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    1717
    1818</sect1>
  • boot/x86_64-64/lilo.xml

    rb18d234 rf1fd69a  
    5454  achieve this:</para>
    5555
    56 <screen os="f" role="nodump"><userinput>keytab-lilo.pl uk >i${LFS}/boot/uk.ktl</userinput></screen>
     56<screen os="f" role="nodump"><userinput>keytab-lilo.pl uk >i${CLFS}/boot/uk.ktl</userinput></screen>
    5757
    5858  <para os="g">The argument to the command is the name of the keymap, or if
     
    6262  <para os="i">The next step is to create /etc/lilo.conf</para>
    6363
    64 <screen os="j" role="nodump"><userinput>cat &gt; ${LFS}/etc/lilo.conf &lt;&lt; "EOF"
     64<screen os="j" role="nodump"><userinput>cat &gt; ${CLFS}/etc/lilo.conf &lt;&lt; "EOF"
    6565<literal># Begin /etc/lilo.conf
    6666# lilo.conf
     
    7474
    7575# set the name of the default image to boot
    76 default=lfs
     76default=clfs
    7777
    7878# define an image
    79 image=/boot/lfskernel
    80     label=lfs
     79image=/boot/clfskernel
     80    label=clfs
    8181    root=/dev/&lt;partition&gt;
    8282    read-only
  • boot/x86_64/flags.xml

    rb18d234 rf1fd69a  
    1414  we boot-up they will be there:</para>
    1515
    16 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    17 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    18 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     16<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     17echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
     18echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
    1919
    2020</sect1>
  • boot/x86_64/grub-build.xml

    rb18d234 rf1fd69a  
    4646    xpointer="xpointer(//*[@os='f'])"/>
    4747
    48 <screen os="ab"><userinput>make DESTDIR=${LFS} install
    49 mkdir -v ${LFS}/boot/grub
    50 cp -v ${LFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
     48<screen os="ab"><userinput>make DESTDIR=${CLFS} install
     49mkdir -v ${CLFS}/boot/grub
     50cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
    5151
    5252    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5858    files, different ones for different file systems. Review the files
    5959    available and copy the appropriate ones to the <filename
    60     class="directory">${LFS}/boot/grub</filename> directory. Most
     60    class="directory">${CLFS}/boot/grub</filename> directory. Most
    6161    users will copy the <filename>e2fs_stage1_5</filename> and/or
    6262    <filename>reiserfs_stage1_5</filename> files.</para>
  • boot/x86_64/kernel.xml

    rb18d234 rf1fd69a  
    8888
    8989<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
    90    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     90   INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9191
    9292    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9898    xpointer="xpointer(//*[@os='v'])"/>
    9999
    100 <screen><userinput>cp -v arch/x86_64/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     100<screen><userinput>cp -v arch/x86_64/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
    101101
    102102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.