Changeset d2ecc65


Ignore:
Timestamp:
Apr 19, 2014, 10:07:08 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
76ccba3
Parents:
03679c8
Message:

Reorganized boot section

Location:
BOOK
Files:
50 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/64/createfiles.xml

    r03679c8 rd2ecc65  
    1313  <title>Creating Essential Symlinks</title>
    1414
    15   <para os="a">Some programs use hard-wired paths to programs which do not exist
    16   yet. In order to satisfy these programs, create a number of symbolic
    17   links which will be replaced by real files throughout the course of
    18   the next chapter after the software has been installed.</para>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     16  href="../common/createfiles.xml"
     17  xpointer="xpointer(//*[@os='a'])"/>
    1918
    20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
    21 ln -sv /tools/bin/file ${CLFS}/usr/bin
    22 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    23 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
    24 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
    25 ln -sv bash ${CLFS}/bin/sh
    26 ln -sv ../run ${CLFS}/var/run</userinput></screen>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     20  href="../common/createfiles.xml"
     21  xpointer="xpointer(//*[@os='b'])"/>
    2722
    28   <para os="b">To enable some c++ tests in the Glibc and Binutils testsuites
     23  <para os="e">To enable some C++ tests in the Glibc and Binutils testsuites
    2924  to link, create a directory and make some symbolic links:</para>
    3025
    31 <screen><userinput>mkdir -pv ${CLFS}/usr/lib64
     26<screen os="f"><userinput>mkdir -pv ${CLFS}/usr/lib64
    3227ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib64</userinput></screen>
    3328
  • BOOK/boot/64/e2fsprogs.xml

    r03679c8 rd2ecc65  
    6969    xpointer="xpointer(//*[@os='l'])"/>
    7070
    71     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    72     href="../common/e2fsprogs.xml"
    73     xpointer="xpointer(//*[@os='ad'])"/>
    74 
    75     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    76     href="../common/e2fsprogs.xml"
    77     xpointer="xpointer(//*[@os='ae'])"/>
    78 
    79 
    8071  </sect2>
    8172
  • BOOK/boot/64/eudev.xml

    r03679c8 rd2ecc65  
    3030    CC="${CC} ${BUILD64}" ./configure --prefix=/tools --build=${CLFS_HOST} \
    3131    --host=${CLFS_TARGET}  --disable-introspection --disable-gtk-doc-html \
    32     --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
     32    --disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
    3333    --enable-libkmod</userinput></screen>
    3434
  • BOOK/boot/64/grub-build.xml

    r03679c8 rd2ecc65  
    4141<screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    4242    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    43     --disable-werror --enable-grub-mkfont=no</userinput></screen>
     43    --disable-werror --enable-grub-mkfont=no --with-bootdir=tools/boot</userinput></screen>
    4444
    4545    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/alpha-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/aboot-build.xml"/>
    1523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2226  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/aboot-build.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2528  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/aboot.xml"/>
    2930  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/aboot.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
    3232
  • BOOK/boot/alpha/kernel.xml

    r03679c8 rd2ecc65  
    8080
    8181<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \
    82    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     82   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    8383
    8484    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8787
    8888<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \
    89    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     89   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    9090
    9191    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9797    xpointer="xpointer(//*[@os='v'])"/>
    9898
    99 <screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
     99<screen><userinput>cp -v vmlinux /tools/boot/clfskernel-&linux-version;</userinput></screen>
    100100
    101101    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/common/changingowner.xml

    r03679c8 rd2ecc65  
    1111  <title>Changing Ownership</title>
    1212
    13   <para os="a">Currently, the <filename class="directory">${CLFS}</filename>
    14   directory and all of its subdirectories  are owned by the user
    15   <systemitem class="username">clfs</systemitem>, a user that exists only
    16   on the host system. For security reasons, the ${CLFS} root directory and
    17   all of its subdirectories should be owned by
    18   <systemitem class="username">root</systemitem>. Change the ownership
    19   for ${CLFS} and its subdirectories by running this command:</para>
     13  <para os="a">Currently, the <filename class="directory">/tools</filename>
     14  and <filename class="directory">/cross-tools</filename> directories
     15  are owned by the user <emphasis>clfs</emphasis>, a user that
     16  exists only on the host system. Although <filename
     17  class="directory">/tools</filename> and <filename
     18  class="directory">/cross-tools</filename> can be deleted once the CLFS
     19  system has been finished, they can be retained to build
     20  additional CLFS systems. If the <filename class="directory">/tools</filename>
     21  and <filename class="directory">/cross-tools</filename> directories are
     22  kept as is, the files are owned by a user ID without a corresponding
     23  account. This is dangerous because a user account created later could
     24  get this same user ID and would own these directories and all the files
     25  therein, thus exposing those files to possible malicious manipulation.</para>
    2026
    21 <screen os="b"><userinput>chown -Rv &uid-root;:&gid-root; ${CLFS}</userinput></screen>
     27  <para os="b">One possible fix for this issue might be to add the
     28  <systemitem class="username">clfs</systemitem> user to the new CLFS system
     29  later when creating the <filename>/etc/passwd</filename> file, taking care
     30  to assign it the same user and group IDs as on the host system. Alternatively,
     31  assign the contents of the <filename class="directory">/tools</filename>
     32  and <filename class="directory">/cross-tools</filename> directories to
     33  user <systemitem class="username">root</systemitem> by running the
     34  following commands:</para>
     35
     36<screen os="c"><userinput>chown -Rv 0:0 ${CLFS}/tools
     37chown -Rv 0:0 ${CLFS}/cross-tools</userinput></screen>
    2238
    2339</sect1>
  • BOOK/boot/common/createfiles.xml

    r03679c8 rd2ecc65  
    1616  the next chapter after the software has been installed.</para>
    1717
    18 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
     18<screen os="b"><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
    1919ln -sv /tools/bin/file ${CLFS}/usr/bin
    2020ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2121ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
    22 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
     22sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
    2323ln -sv bash ${CLFS}/bin/sh
    24 ln -sv /run ${CLFS}/var/run</userinput></screen>
     24ln -sv ../run ${CLFS}/var/run
     25ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin
     26ln -sv /tools/sbin/init ${CLFS}/sbin
     27ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
     28
    2529
    2630  <para os="c">Historically, Linux maintains a list of the mounted file systems
  • BOOK/boot/common/creatingdirs.xml

    r03679c8 rd2ecc65  
    1111  <title>Creating Directories</title>
    1212
    13   <para os="a">It is time to create some structure in the CLFS file system. Create a
     13    <note os="a">
     14      <para>The commands in the remainder of the book should be run as
     15      the <systemitem class="username">root</systemitem> user. Check
     16      that ${CLFS} is set in the
     17      <systemitem class="username">root</systemitem> user&rsquo;s environment
     18       before proceeding.</para>
     19    </note>
     20
     21  <para os="b">It is time to create some structure in the CLFS file system. Create a
    1422  standard directory tree by issuing the following commands:</para>
    1523
    16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     24<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib/firmware,mnt}
    1725mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
    1826mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
     
    2533mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}</userinput></screen>
    2634
    27   <para os="c">Directories are, by default, created with permission mode 755,
     35  <para os="d">Directories are, by default, created with permission mode 755,
    2836  but this is not desirable for all directories. In the commands above,
    2937  two changes are made&mdash;one to the home directory of user
     
    3139  directories for temporary files.</para>
    3240
    33   <para os="d">The first mode change ensures that not just anybody can enter
     41  <para os="e">The first mode change ensures that not just anybody can enter
    3442  the <filename class="directory">/root</filename> directory&mdash;the
    3543  same as a normal user would do with his or her home directory. The
     
    4149  1777 bit mask.</para>
    4250
    43   <sect2 os="e">
     51  <sect2 os="f">
    4452    <title>FHS Compliance Note</title>
    4553
  • BOOK/boot/common/devices.xml

    r03679c8 rd2ecc65  
    1818    <title>Creating Initial Device Nodes</title>
    1919
    20     <note os="a">
    21       <para>The commands in the remainder of the book should be run as
    22       the <systemitem class="username">root</systemitem> user. Check
    23       that ${CLFS} is set in the
    24       <systemitem class="username">root</systemitem> user&rsquo;s environment
    25        before proceeding.</para>
    26     </note>
    27 
    2820    <para os="b">When the kernel boots the system, it requires the presence
    2921    of a few device nodes, in particular the <filename
  • BOOK/boot/common/e2fsprogs.xml

    r03679c8 rd2ecc65  
    7777    xpointer="xpointer(//*[@os='l'])"/>
    7878
    79     <para os="ad">Create needed symlinks for a bootable system:</para>
    80 
    81 <screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin</userinput></screen>
    82 
    83 
    8479  </sect2>
    8580
  • BOOK/boot/common/eudev.xml

    r03679c8 rd2ecc65  
    4646    loaded by <command>udev</command>:</para>
    4747
    48 <screen os="k"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>
     48<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
    4949
    5050    <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
     
    6868        v4l_id, write_cd_rules, write_net_rules</seg>
    6969        <seg>libudev</seg>
    70         <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
     70        <seg>/tools/etc/udev, /tools/lib/firmware, /tools/lib/udev</seg>
    7171      </seglistitem>
    7272    </segmentedlist>
  • BOOK/boot/common/introduction.xml

    r03679c8 rd2ecc65  
    1515  build the final system packages.</para>
    1616
    17   <para>There are a few additional packages that will need to be
    18   installed to allow you to boot the minimal system. They will be installed
    19   into <filename class="directory">/tools</filename>, but a few additional
    20   files and symlinks will be needed on the CLFS partition to be able to boot
    21   and log in. This will require the
    22   <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.
    25   Run the following command as <systemitem
    26   class="username">root</systemitem>:</para>
    27 
    28 <screen><userinput>chown -v clfs ${CLFS}</userinput></screen>
    29 
    3017</sect1>
  • BOOK/boot/common/kmod.xml

    r03679c8 rd2ecc65  
    2222  <sect2 role="installation">
    2323    <title>Installation of Kmod</title>
     24
     25    <para os="s1">Tell Kmod to use <filename class="directory">/tools/lib/modules</filename>:</para>
     26
     27<screen os="s2"><userinput>cp -v libkmod/libkmod.c{,.orig}
     28sed '/dirname_default_prefix /s@/lib/modules@/tools&amp;@' \
     29    libkmod/libkmod.c.orig &gt; libkmod/libkmod.c</userinput></screen>
    2430
    2531    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6369    xpointer="xpointer(//*[@os='i'])"/>
    6470
    65 <screen os="j"><userinput>ln -sv /tools/bin/kmod ${CLFS}/bin
    66 ln -sv kmod ${CLFS}/bin/lsmod
    67 ln -sv ../bin/kmod ${CLFS}/sbin/depmod
    68 ln -sv ../bin/kmod ${CLFS}/sbin/insmod
    69 ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
    70 ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
    71 ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
     71<screen os="j"><userinput>ln -sfv kmod /tools/bin/lsmod
     72for tool in depmod insmod modprobe modinfo rmmod; do
     73    ln -sv ../bin/kmod /tools/sbin/${tool}
     74done</userinput></screen>
    7275
    7376  </sect2>
  • BOOK/boot/common/shadow.xml

    r03679c8 rd2ecc65  
    4242sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&amp;@' config.h.orig &gt; config.h</userinput></screen>
    4343
    44     <para os="h">Compile the package:</para>
     44    <para os="h">Prevent Shadow from setting installed programs suid:</para>
    4545
    46 <screen os="i"><userinput>make</userinput></screen>
     46<screen os="i"><userinput>cp -v src/Makefile{,.orig}
     47sed 's/\(^suidu*bins = \).*/\1/' src/Makefile.orig &gt; src/Makefile</userinput></screen>
    4748
    48     <para os="j">Install the package:</para>
     49    <para os="j">Compile the package:</para>
    4950
    50 <screen os="k"><userinput>make install</userinput></screen>
     51<screen os="k"><userinput>make</userinput></screen>
    5152
    52     <para os="l">Create needed symlinks to be able to log on:</para>
     53    <para os="l">Install the package:</para>
    5354
    54 <screen os="m"><userinput>ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
     55<screen os="m"><userinput>make install</userinput></screen>
    5556
    5657  </sect2>
  • BOOK/boot/common/sysvinit.xml

    r03679c8 rd2ecc65  
    3939   <para os="e">Install the package:</para>
    4040
    41 <screen os="ad"><userinput>make -C src ROOT=/tools install
    42 ln -svf /tools/sbin/init ${CLFS}/sbin</userinput></screen>
     41<screen os="ad"><userinput>make -C src ROOT=/tools install</userinput></screen>
    4342
    4443  </sect2>
  • BOOK/boot/mips-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
    1522  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo-build.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
    1725  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
  • BOOK/boot/mips/kernel.xml

    r03679c8 rd2ecc65  
    7272
    7373<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    74    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     74   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    7575
    7676    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7979
    8080<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    81    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     81   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8282
    8383    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8989    xpointer="xpointer(//*[@os='v'])"/>
    9090
    91 <screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
    92 gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
     91<screen><userinput>cp -v vmlinux /tools/boot/vmlinux-&linux-version;
     92gzip -9 /tools/boot/vmlinux-&linux-version;</userinput></screen>
    9393
    9494    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/mips64-64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
    1522  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
    1725  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
  • BOOK/boot/mips64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
    1522  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/creatingdirs.xml"/>
    1725  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
  • BOOK/boot/mips64/createfiles.xml

    r03679c8 rd2ecc65  
    2323ln -sv /tools/lib32/libstdc++.so{.6,} ${CLFS}/usr/lib32
    2424ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
    25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
     25sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
    2626ln -sv bash ${CLFS}/bin/sh
    27 ln -sv ../run ${CLFS}/var/run</userinput></screen>
     27ln -sv ../run ${CLFS}/var/run
     28ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin
     29ln -sv /tools/sbin/init ${CLFS}/sbin
     30ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
    2831
    2932  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/mips64/kernel.xml

    r03679c8 rd2ecc65  
    7676
    7777<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    78    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     78   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8383
    8484<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    85    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     85   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8686
    8787    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9393    xpointer="xpointer(//*[@os='v'])"/>
    9494
    95 <screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
    96 gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
     95<screen><userinput>cp -v vmlinux /tools/boot/vmlinux-&linux-version;
     96gzip -9 /tools/boot/vmlinux-&linux-version;</userinput></screen>
    9797
    9898    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/multilib/createfiles.xml

    r03679c8 rd2ecc65  
    2121ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
    2222ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
    23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
     23sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
    2424ln -sv bash ${CLFS}/bin/sh
    25 ln -sv ../run ${CLFS}/var/run</userinput></screen>
     25ln -sv ../run ${CLFS}/var/run
     26ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin
     27ln -sv /tools/sbin/init ${CLFS}/sbin
     28ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
    2629
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/multilib/creatingdirs.xml

    r03679c8 rd2ecc65  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     18  href="../common/creatingdirs.xml"
     19  xpointer="xpointer(//*[@os='b'])"/>
     20
     21<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
    1822mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
    1923mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
     
    3034  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3135  href="../common/creatingdirs.xml"
    32   xpointer="xpointer(//*[@os='c'])"/>
    33 
    34   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    35   href="../common/creatingdirs.xml"
    3636  xpointer="xpointer(//*[@os='d'])"/>
    3737
     
    4040  xpointer="xpointer(//*[@os='e'])"/>
    4141
     42  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     43  href="../common/creatingdirs.xml"
     44  xpointer="xpointer(//*[@os='f'])"/>
     45
    4246</sect1>
  • BOOK/boot/multilib/e2fsprogs.xml

    r03679c8 rd2ecc65  
    7575    xpointer="xpointer(//*[@os='l'])"/>
    7676
    77     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    78     href="../common/e2fsprogs.xml"
    79     xpointer="xpointer(//*[@os='ad'])"/>
    80 
    81     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    82     href="../common/e2fsprogs.xml"
    83     xpointer="xpointer(//*[@os='ae'])"/>
    84 
    8577  </sect2>
    8678
  • BOOK/boot/multilib/kmod.xml

    r03679c8 rd2ecc65  
    2222  <sect2 role="installation">
    2323    <title>Installation of Kmod</title>
     24
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../common/kmod.xml"
     27    xpointer="xpointer(//*[@os='s1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../common/kmod.xml"
     31    xpointer="xpointer(//*[@os='s2'])"/>
    2432
    2533    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5462
    5563    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    56     href="../../final-system/common/kmod.xml"
     64    href="../common/kmod.xml"
    5765    xpointer="xpointer(//*[@os='i'])"/>
    5866
  • BOOK/boot/ppc-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
    15   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    16   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2321  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
    2422  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
    2523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/>
    2624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot-build.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
  • BOOK/boot/ppc/kernel.xml

    r03679c8 rd2ecc65  
    7777
    7878<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    79    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     79   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8484
    8585<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    86    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     86   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8787
    8888    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9494    xpointer="xpointer(//*[@os='v'])"/>
    9595
    96 <screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
     96<screen><userinput>cp -v vmlinux /tools/boot/clfskernel-&linux-version;</userinput></screen>
    9797
    9898    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/ppc64-64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
    15   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    16   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2321  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
    2422  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
    2523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/powerpc-utils.xml"/>
    2624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/yaboot-build.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2831  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    31   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
  • BOOK/boot/ppc64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
    15   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
    16   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    1816  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/>
    1917  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2422  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
    2523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
    2624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/powerpc-utils.xml"/>
    2725  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2831  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2932  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    31   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    32   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/>
  • BOOK/boot/ppc64/e2fsprogs.xml

    r03679c8 rd2ecc65  
    8585    xpointer="xpointer(//*[@os='l'])"/>
    8686
    87     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    88     href="../common/e2fsprogs.xml"
    89     xpointer="xpointer(//*[@os='ad'])"/>
    90 
    91     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    92     href="../common/e2fsprogs.xml"
    93     xpointer="xpointer(//*[@os='ae'])"/>
    94 
    9587  </sect2>
    9688
  • BOOK/boot/ppc64/kernel.xml

    r03679c8 rd2ecc65  
    7676
    7777<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    78    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     78   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8383
    8484<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    85    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     85   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8686
    8787    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9393    xpointer="xpointer(//*[@os='v'])"/>
    9494
    95 <screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
     95<screen><userinput>cp -v vmlinux /tools/boot/clfskernel-&linux-version;</userinput></screen>
    9696
    9797    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/sparc-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
    1524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    1625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
  • BOOK/boot/sparc/kernel.xml

    r03679c8 rd2ecc65  
    7272
    7373<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
    74    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     74   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    7575
    7676    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7979
    8080<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
    81    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     81   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8282
    8383    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8989    xpointer="xpointer(//*[@os='v'])"/>
    9090
    91 <screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
     91<screen><userinput>cp -v vmlinux /tools/boot/clfskernel-&linux-version;</userinput></screen>
    9292
    9393    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/sparc64-64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
    1524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    1625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
  • BOOK/boot/sparc64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
    1524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
    1625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2327  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2730  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
  • BOOK/boot/sparc64/kernel.xml

    r03679c8 rd2ecc65  
    7373    xpointer="xpointer(//*[@os='s'])"/>
    7474
    75 <screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \
     75<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=/tools \
    7676   CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
    7777
     
    8181
    8282<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \
    83    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     83   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8484
    8585    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9191    xpointer="xpointer(//*[@os='v'])"/>
    9292
    93 <screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
     93<screen><userinput>cp -v vmlinux /tools/boot/clfskernel-&linux-version;</userinput></screen>
    9494
    9595    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/x86-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
    1523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    19    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2226  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2528  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
  • BOOK/boot/x86/kernel.xml

    r03679c8 rd2ecc65  
    8080
    8181<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    82     INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     82    INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    8383
    8484    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8787
    8888<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    89    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     89   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    9090
    9191    <para os="u">After kernel compilation is complete, additional steps are
    9292    required to complete the installation. Some files need to be copied to
    93     the <filename class="directory">${CLFS}/boot</filename> directory.</para>
     93    the <filename class="directory">/tools/boot</filename> directory.</para>
    9494
    95     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    96     href="../../bootable/x86/kernel.xml"
    97     xpointer="xpointer(//*[@os='v'])"/>
     95    <para os="v">Issue the following commands to install the kernel:</para>
    9896
    99 <screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
     97<screen><userinput>cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
    10098
    10199    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    103101    xpointer="xpointer(//*[@os='w'])"/>
    104102
    105 <screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
     103<screen os="w1"><userinput>cp -v System.map /tools/boot/System.map-&linux-version;</userinput></screen>
    106104
    107105    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    109107    xpointer="xpointer(//*[@os='x'])"/>
    110108
    111 <screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
     109<screen os="x1"><userinput>cp -v .config /tools/boot/config-&linux-version;</userinput></screen>
    112110
    113111  </sect2>
  • BOOK/boot/x86_64-64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/>
    1523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eudev.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2226  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2528  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
  • BOOK/boot/x86_64-64/kmod.xml

    r03679c8 rd2ecc65  
    2222  <sect2 role="installation">
    2323    <title>Installation of Kmod</title>
     24
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../common/kmod.xml"
     27    xpointer="xpointer(//*[@os='s1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../common/kmod.xml"
     31    xpointer="xpointer(//*[@os='s2'])"/>
    2432
    2533    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5361
    5462    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    55     href="../../final-system/common/kmod.xml"
     63    href="../common/kmod.xml"
    5664    xpointer="xpointer(//*[@os='i'])"/>
    5765
  • BOOK/boot/x86_64-chapter.xml

    r03679c8 rd2ecc65  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
     16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/>
    1523  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
    1624  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    2226  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    2528  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
  • BOOK/boot/x86_64/kernel.xml

    r03679c8 rd2ecc65  
    7676
    7777<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
    78    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     78   INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8383
    8484<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
    85    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     85   INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    8686
    8787    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9393    xpointer="xpointer(//*[@os='v'])"/>
    9494
    95 <screen><userinput>cp -v arch/x86_64/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
     95<screen><userinput>mkdir -pv /tools/boot
     96cp -v arch/x86_64/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
    9697
    9798    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/64/createfiles.xml

    r03679c8 rd2ecc65  
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2828  href="../../boot/64/createfiles.xml"
    29   xpointer="xpointer(//*[@os='b'])"/>
     29  xpointer="xpointer(//*[@os='e'])"/>
    3030
    3131<screen><userinput>mkdir -pv /usr/lib64
  • BOOK/chroot/common/creatingdirs.xml

    r03679c8 rd2ecc65  
    1313  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1414  href="../../boot/common/creatingdirs.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     15  xpointer="xpointer(//*[@os='b'])"/>
    1616
    17 <screen os="b"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     17<screen os="c"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt}
    1818mkdir -pv /{proc,media/{floppy,cdrom},run/shm,sbin,srv,sys}
    1919mkdir -pv /var/{lock,log,mail,spool}
     
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2929  href="../../boot/common/creatingdirs.xml"
    30   xpointer="xpointer(//*[@os='c'])"/>
    31 
    32   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    33   href="../../boot/common/creatingdirs.xml"
    3430  xpointer="xpointer(//*[@os='d'])"/>
    3531
     
    3834  xpointer="xpointer(//*[@os='e'])"/>
    3935
     36  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     37  href="../../boot/common/creatingdirs.xml"
     38  xpointer="xpointer(//*[@os='f'])"/>
     39
    4040</sect1>
  • BOOK/chroot/common/kernfs.xml

    r03679c8 rd2ecc65  
    1111  <title>Mounting Virtual Kernel File Systems</title>
    1212
    13     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    14     href="../../boot/common/devices.xml"
    15     xpointer="xpointer(//*[@os='a'])"/>
     13    <note os="a">
     14      <para>The commands in the remainder of the book should be run as
     15      the <systemitem class="username">root</systemitem> user. Check
     16      that ${CLFS} is set in the
     17      <systemitem class="username">root</systemitem> user&rsquo;s environment
     18       before proceeding.</para>
     19    </note>
    1620
    1721  <para>Various file systems exported by the kernel are used to communicate
  • BOOK/chroot/mips/creatingdirs.xml

    r03679c8 rd2ecc65  
    1313  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1414  href="../common/creatingdirs.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     15  xpointer="xpointer(//*[@os='b'])"/>
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1818  href="../common/creatingdirs.xml"
    19   xpointer="xpointer(//*[@os='b'])"/>
     19  xpointer="xpointer(//*[@os='c'])"/>
    2020
    2121   <para os="m1">These entries are needed for the RaQ2 bootloader. Only use these
     
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2828  href="../common/creatingdirs.xml"
    29   xpointer="xpointer(//*[@os='c'])"/>
    30 
    31   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    32   href="../common/creatingdirs.xml"
    3329  xpointer="xpointer(//*[@os='d'])"/>
    3430
     
    3733  xpointer="xpointer(//*[@os='e'])"/>
    3834
     35  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36  href="../common/creatingdirs.xml"
     37  xpointer="xpointer(//*[@os='f'])"/>
     38
    3939</sect1>
  • BOOK/chroot/mips64/creatingdirs.xml

    r03679c8 rd2ecc65  
    1313  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1414  href="../common/creatingdirs.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     15  xpointer="xpointer(//*[@os='b'])"/>
    1616
    1717<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
     
    3939  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4040  href="../common/creatingdirs.xml"
    41   xpointer="xpointer(//*[@os='c'])"/>
    42 
    43   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44   href="../common/creatingdirs.xml"
    4541  xpointer="xpointer(//*[@os='d'])"/>
    4642
     
    4945  xpointer="xpointer(//*[@os='e'])"/>
    5046
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     48  href="../common/creatingdirs.xml"
     49  xpointer="xpointer(//*[@os='f'])"/>
     50
    5151</sect1>
  • BOOK/chroot/multilib/creatingdirs.xml

    r03679c8 rd2ecc65  
    1313  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1414  href="../common/creatingdirs.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     15  xpointer="xpointer(//*[@os='b'])"/>
    1616
    1717<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
     
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3131  href="../common/creatingdirs.xml"
    32   xpointer="xpointer(//*[@os='c'])"/>
    33 
    34   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    35   href="../common/creatingdirs.xml"
    3632  xpointer="xpointer(//*[@os='d'])"/>
    3733
     
    4036  xpointer="xpointer(//*[@os='e'])"/>
    4137
     38  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     39  href="../common/creatingdirs.xml"
     40  xpointer="xpointer(//*[@os='f'])"/>
     41
    4242</sect1>
  • BOOK/introduction/common/changelog.xml

    r03679c8 rd2ecc65  
    3838
    3939    <listitem>
     40      <para>20 April 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Reorganized "boot" section to allow everything
     44          to be installed into /tools, remove the need to chown ${CLFS} to the
     45          clfs user, and generally make the chapter's instructions flow better.</para>
     46        </listitem>
     47      </itemizedlist>
     48    </listitem>
     49
     50    <listitem>
    4051      <para>18 April 2014</para>
    4152      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.