- Timestamp:
- Apr 19, 2014, 10:07:08 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 76ccba3
- Parents:
- 03679c8
- Location:
- BOOK
- Files:
-
- 50 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/64/createfiles.xml
r03679c8 rd2ecc65 13 13 <title>Creating Essential Symlinks</title> 14 14 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'])"/> 19 18 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'])"/> 27 22 28 <para os=" b">To enable some c++ tests in the Glibc and Binutils testsuites23 <para os="e">To enable some C++ tests in the Glibc and Binutils testsuites 29 24 to link, create a directory and make some symbolic links:</para> 30 25 31 <screen ><userinput>mkdir -pv ${CLFS}/usr/lib6426 <screen os="f"><userinput>mkdir -pv ${CLFS}/usr/lib64 32 27 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib64</userinput></screen> 33 28 -
BOOK/boot/64/e2fsprogs.xml
r03679c8 rd2ecc65 69 69 xpointer="xpointer(//*[@os='l'])"/> 70 70 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 80 71 </sect2> 81 72 -
BOOK/boot/64/eudev.xml
r03679c8 rd2ecc65 30 30 CC="${CC} ${BUILD64}" ./configure --prefix=/tools --build=${CLFS_HOST} \ 31 31 --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 \ 33 33 --enable-libkmod</userinput></screen> 34 34 -
BOOK/boot/64/grub-build.xml
r03679c8 rd2ecc65 41 41 <screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 42 42 --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> 44 44 45 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/alpha-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/> 16 24 <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"/> 22 26 <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"/> 25 28 <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"/> 29 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/> 32 32 -
BOOK/boot/alpha/kernel.xml
r03679c8 rd2ecc65 80 80 81 81 <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> 83 83 84 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 87 87 88 88 <screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \ 89 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>89 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 90 90 91 91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 97 97 xpointer="xpointer(//*[@os='v'])"/> 98 98 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> 100 100 101 101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/common/changingowner.xml
r03679c8 rd2ecc65 11 11 <title>Changing Ownership</title> 12 12 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> 20 26 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 37 chown -Rv 0:0 ${CLFS}/cross-tools</userinput></screen> 22 38 23 39 </sect1> -
BOOK/boot/common/createfiles.xml
r03679c8 rd2ecc65 16 16 the next chapter after the software has been installed.</para> 17 17 18 <screen ><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin18 <screen os="b"><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin 19 19 ln -sv /tools/bin/file ${CLFS}/usr/bin 20 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 21 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib 22 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >${CLFS}/usr/lib/libstdc++.la22 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la 23 23 ln -sv bash ${CLFS}/bin/sh 24 ln -sv /run ${CLFS}/var/run</userinput></screen> 24 ln -sv ../run ${CLFS}/var/run 25 ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin 26 ln -sv /tools/sbin/init ${CLFS}/sbin 27 ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen> 28 25 29 26 30 <para os="c">Historically, Linux maintains a list of the mounted file systems -
BOOK/boot/common/creatingdirs.xml
r03679c8 rd2ecc65 11 11 <title>Creating Directories</title> 12 12 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’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 14 22 standard directory tree by issuing the following commands:</para> 15 23 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} 17 25 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 18 26 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} … … 25 33 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}</userinput></screen> 26 34 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, 28 36 but this is not desirable for all directories. In the commands above, 29 37 two changes are made—one to the home directory of user … … 31 39 directories for temporary files.</para> 32 40 33 <para os=" d">The first mode change ensures that not just anybody can enter41 <para os="e">The first mode change ensures that not just anybody can enter 34 42 the <filename class="directory">/root</filename> directory—the 35 43 same as a normal user would do with his or her home directory. The … … 41 49 1777 bit mask.</para> 42 50 43 <sect2 os=" e">51 <sect2 os="f"> 44 52 <title>FHS Compliance Note</title> 45 53 -
BOOK/boot/common/devices.xml
r03679c8 rd2ecc65 18 18 <title>Creating Initial Device Nodes</title> 19 19 20 <note os="a">21 <para>The commands in the remainder of the book should be run as22 the <systemitem class="username">root</systemitem> user. Check23 that ${CLFS} is set in the24 <systemitem class="username">root</systemitem> user’s environment25 before proceeding.</para>26 </note>27 28 20 <para os="b">When the kernel boots the system, it requires the presence 29 21 of a few device nodes, in particular the <filename -
BOOK/boot/common/e2fsprogs.xml
r03679c8 rd2ecc65 77 77 xpointer="xpointer(//*[@os='l'])"/> 78 78 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 84 79 </sect2> 85 80 -
BOOK/boot/common/eudev.xml
r03679c8 rd2ecc65 46 46 loaded by <command>udev</command>:</para> 47 47 48 <screen os="k"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>48 <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen> 49 49 50 50 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para> … … 68 68 v4l_id, write_cd_rules, write_net_rules</seg> 69 69 <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> 71 71 </seglistitem> 72 72 </segmentedlist> -
BOOK/boot/common/introduction.xml
r03679c8 rd2ecc65 15 15 build the final system packages.</para> 16 16 17 <para>There are a few additional packages that will need to be18 installed to allow you to boot the minimal system. They will be installed19 into <filename class="directory">/tools</filename>, but a few additional20 files and symlinks will be needed on the CLFS partition to be able to boot21 and log in. This will require the22 <systemitem class="username">clfs</systemitem> user to have write access to23 the rest of the CLFS partition, so you will need to temporarily change the24 ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user.25 Run the following command as <systemitem26 class="username">root</systemitem>:</para>27 28 <screen><userinput>chown -v clfs ${CLFS}</userinput></screen>29 30 17 </sect1> -
BOOK/boot/common/kmod.xml
r03679c8 rd2ecc65 22 22 <sect2 role="installation"> 23 23 <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} 28 sed '/dirname_default_prefix /s@/lib/modules@/tools&@' \ 29 libkmod/libkmod.c.orig > libkmod/libkmod.c</userinput></screen> 24 30 25 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 63 69 xpointer="xpointer(//*[@os='i'])"/> 64 70 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 72 for tool in depmod insmod modprobe modinfo rmmod; do 73 ln -sv ../bin/kmod /tools/sbin/${tool} 74 done</userinput></screen> 72 75 73 76 </sect2> -
BOOK/boot/common/shadow.xml
r03679c8 rd2ecc65 42 42 sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&@' config.h.orig > config.h</userinput></screen> 43 43 44 <para os="h"> Compile the package:</para>44 <para os="h">Prevent Shadow from setting installed programs suid:</para> 45 45 46 <screen os="i"><userinput>make</userinput></screen> 46 <screen os="i"><userinput>cp -v src/Makefile{,.orig} 47 sed 's/\(^suidu*bins = \).*/\1/' src/Makefile.orig > src/Makefile</userinput></screen> 47 48 48 <para os="j"> Installthe package:</para>49 <para os="j">Compile the package:</para> 49 50 50 <screen os="k"><userinput>make install</userinput></screen>51 <screen os="k"><userinput>make</userinput></screen> 51 52 52 <para os="l"> Create needed symlinks to be able to log on:</para>53 <para os="l">Install the package:</para> 53 54 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> 55 56 56 57 </sect2> -
BOOK/boot/common/sysvinit.xml
r03679c8 rd2ecc65 39 39 <para os="e">Install the package:</para> 40 40 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> 43 42 44 43 </sect2> -
BOOK/boot/mips-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 22 <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"/> 16 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/> 17 25 <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"/> 23 27 <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"/> 26 29 <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"/>30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/> -
BOOK/boot/mips/kernel.xml
r03679c8 rd2ecc65 72 72 73 73 <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> 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 79 80 80 <screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \ 81 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>81 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 82 82 83 83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 89 89 xpointer="xpointer(//*[@os='v'])"/> 90 90 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; 92 gzip -9 /tools/boot/vmlinux-&linux-version;</userinput></screen> 93 93 94 94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/mips64-64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 22 <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"/> 16 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/> 17 25 <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"/> 23 27 <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"/> 26 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 27 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/> -
BOOK/boot/mips64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 22 <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"/> 16 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/creatingdirs.xml"/> 17 25 <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"/> 23 27 <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"/> 26 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 27 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/> -
BOOK/boot/mips64/createfiles.xml
r03679c8 rd2ecc65 23 23 ln -sv /tools/lib32/libstdc++.so{.6,} ${CLFS}/usr/lib32 24 24 ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64 25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >${CLFS}/usr/lib/libstdc++.la25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la 26 26 ln -sv bash ${CLFS}/bin/sh 27 ln -sv ../run ${CLFS}/var/run</userinput></screen> 27 ln -sv ../run ${CLFS}/var/run 28 ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin 29 ln -sv /tools/sbin/init ${CLFS}/sbin 30 ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen> 28 31 29 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/mips64/kernel.xml
r03679c8 rd2ecc65 76 76 77 77 <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> 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 83 83 84 84 <screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>85 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 86 86 87 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 93 93 xpointer="xpointer(//*[@os='v'])"/> 94 94 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; 96 gzip -9 /tools/boot/vmlinux-&linux-version;</userinput></screen> 97 97 98 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/multilib/createfiles.xml
r03679c8 rd2ecc65 21 21 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib 22 22 ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64 23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >${CLFS}/usr/lib/libstdc++.la23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la 24 24 ln -sv bash ${CLFS}/bin/sh 25 ln -sv ../run ${CLFS}/var/run</userinput></screen> 25 ln -sv ../run ${CLFS}/var/run 26 ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin 27 ln -sv /tools/sbin/init ${CLFS}/sbin 28 ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen> 26 29 27 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/multilib/creatingdirs.xml
r03679c8 rd2ecc65 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 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} 18 22 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 23 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} … … 30 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 35 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"36 36 xpointer="xpointer(//*[@os='d'])"/> 37 37 … … 40 40 xpointer="xpointer(//*[@os='e'])"/> 41 41 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 43 href="../common/creatingdirs.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 45 42 46 </sect1> -
BOOK/boot/multilib/e2fsprogs.xml
r03679c8 rd2ecc65 75 75 xpointer="xpointer(//*[@os='l'])"/> 76 76 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 85 77 </sect2> 86 78 -
BOOK/boot/multilib/kmod.xml
r03679c8 rd2ecc65 22 22 <sect2 role="installation"> 23 23 <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'])"/> 24 32 25 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 54 62 55 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 56 href="../ ../final-system/common/kmod.xml"64 href="../common/kmod.xml" 57 65 xpointer="xpointer(//*[@os='i'])"/> 58 66 -
BOOK/boot/ppc-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 17 18 <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 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 20 <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"/>23 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/> 24 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/> 25 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/> 26 24 <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"/> 27 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/> -
BOOK/boot/ppc/kernel.xml
r03679c8 rd2ecc65 77 77 78 78 <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> 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 84 84 85 85 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \ 86 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>86 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 87 87 88 88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 94 94 xpointer="xpointer(//*[@os='v'])"/> 95 95 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> 97 97 98 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/ppc64-64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 17 18 <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 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 20 <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"/>23 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/> 24 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/> 25 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/powerpc-utils.xml"/> 26 24 <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"/> 27 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 28 31 <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"/>32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/> -
BOOK/boot/ppc64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 18 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/> 19 17 <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"/> 20 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 21 <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"/>24 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/> 25 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/> 26 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/powerpc-utils.xml"/> 27 25 <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"/> 28 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 29 32 <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"/>33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/> -
BOOK/boot/ppc64/e2fsprogs.xml
r03679c8 rd2ecc65 85 85 xpointer="xpointer(//*[@os='l'])"/> 86 86 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 95 87 </sect2> 96 88 -
BOOK/boot/ppc64/kernel.xml
r03679c8 rd2ecc65 76 76 77 77 <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> 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 83 83 84 84 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>85 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 86 86 87 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 93 93 xpointer="xpointer(//*[@os='v'])"/> 94 94 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> 96 96 97 97 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/sparc-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/> 16 25 <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"/> 23 27 <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"/> 26 29 <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"/>30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/> -
BOOK/boot/sparc/kernel.xml
r03679c8 rd2ecc65 72 72 73 73 <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> 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 79 80 80 <screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \ 81 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>81 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 82 82 83 83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 89 89 xpointer="xpointer(//*[@os='v'])"/> 90 90 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> 92 92 93 93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/sparc64-64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/> 16 25 <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"/> 23 27 <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"/> 26 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 27 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/> -
BOOK/boot/sparc64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/> 16 25 <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"/> 23 27 <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"/> 26 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 27 30 <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"/>31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/> -
BOOK/boot/sparc64/kernel.xml
r03679c8 rd2ecc65 73 73 xpointer="xpointer(//*[@os='s'])"/> 74 74 75 <screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH= ${CLFS}\75 <screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=/tools \ 76 76 CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen> 77 77 … … 81 81 82 82 <screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \ 83 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>83 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 84 84 85 85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 91 91 xpointer="xpointer(//*[@os='v'])"/> 92 92 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> 94 94 95 95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/x86-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/> 16 24 <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"/> 22 26 <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"/> 25 28 <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 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/> -
BOOK/boot/x86/kernel.xml
r03679c8 rd2ecc65 80 80 81 81 <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> 83 83 84 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 87 87 88 88 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \ 89 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>89 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 90 90 91 91 <para os="u">After kernel compilation is complete, additional steps are 92 92 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> 94 94 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> 98 96 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> 100 98 101 99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 103 101 xpointer="xpointer(//*[@os='w'])"/> 104 102 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> 106 104 107 105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 109 107 xpointer="xpointer(//*[@os='x'])"/> 110 108 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> 112 110 113 111 </sect2> -
BOOK/boot/x86_64-64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/> 16 24 <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"/> 22 26 <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"/> 25 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 29 <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"/>30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/> -
BOOK/boot/x86_64-64/kmod.xml
r03679c8 rd2ecc65 22 22 <sect2 role="installation"> 23 23 <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'])"/> 24 32 25 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 53 61 54 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 55 href="../ ../final-system/common/kmod.xml"63 href="../common/kmod.xml" 56 64 xpointer="xpointer(//*[@os='i'])"/> 57 65 -
BOOK/boot/x86_64-chapter.xml
r03679c8 rd2ecc65 13 13 14 14 <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"/> 15 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/> 16 24 <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"/> 22 26 <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"/> 25 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 29 <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"/>30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/> -
BOOK/boot/x86_64/kernel.xml
r03679c8 rd2ecc65 76 76 77 77 <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> 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 83 83 84 84 <screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_ FW_PATH=${CLFS}/lib/firmwarefirmware_install</userinput></screen>85 INSTALL_MOD_PATH=/tools firmware_install</userinput></screen> 86 86 87 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 93 93 xpointer="xpointer(//*[@os='v'])"/> 94 94 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 96 cp -v arch/x86_64/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version;</userinput></screen> 96 97 97 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/64/createfiles.xml
r03679c8 rd2ecc65 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 28 href="../../boot/64/createfiles.xml" 29 xpointer="xpointer(//*[@os=' b'])"/>29 xpointer="xpointer(//*[@os='e'])"/> 30 30 31 31 <screen><userinput>mkdir -pv /usr/lib64 -
BOOK/chroot/common/creatingdirs.xml
r03679c8 rd2ecc65 13 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 14 14 href="../../boot/common/creatingdirs.xml" 15 xpointer="xpointer(//*[@os=' a'])"/>15 xpointer="xpointer(//*[@os='b'])"/> 16 16 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} 18 18 mkdir -pv /{proc,media/{floppy,cdrom},run/shm,sbin,srv,sys} 19 19 mkdir -pv /var/{lock,log,mail,spool} … … 28 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 29 29 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"34 30 xpointer="xpointer(//*[@os='d'])"/> 35 31 … … 38 34 xpointer="xpointer(//*[@os='e'])"/> 39 35 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 37 href="../../boot/common/creatingdirs.xml" 38 xpointer="xpointer(//*[@os='f'])"/> 39 40 40 </sect1> -
BOOK/chroot/common/kernfs.xml
r03679c8 rd2ecc65 11 11 <title>Mounting Virtual Kernel File Systems</title> 12 12 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’s environment 18 before proceeding.</para> 19 </note> 16 20 17 21 <para>Various file systems exported by the kernel are used to communicate -
BOOK/chroot/mips/creatingdirs.xml
r03679c8 rd2ecc65 13 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 14 14 href="../common/creatingdirs.xml" 15 xpointer="xpointer(//*[@os=' a'])"/>15 xpointer="xpointer(//*[@os='b'])"/> 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 18 18 href="../common/creatingdirs.xml" 19 xpointer="xpointer(//*[@os=' b'])"/>19 xpointer="xpointer(//*[@os='c'])"/> 20 20 21 21 <para os="m1">These entries are needed for the RaQ2 bootloader. Only use these … … 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 28 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"33 29 xpointer="xpointer(//*[@os='d'])"/> 34 30 … … 37 33 xpointer="xpointer(//*[@os='e'])"/> 38 34 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/creatingdirs.xml" 37 xpointer="xpointer(//*[@os='f'])"/> 38 39 39 </sect1> -
BOOK/chroot/mips64/creatingdirs.xml
r03679c8 rd2ecc65 13 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 14 14 href="../common/creatingdirs.xml" 15 xpointer="xpointer(//*[@os=' a'])"/>15 xpointer="xpointer(//*[@os='b'])"/> 16 16 17 17 <screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt} … … 39 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 40 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"45 41 xpointer="xpointer(//*[@os='d'])"/> 46 42 … … 49 45 xpointer="xpointer(//*[@os='e'])"/> 50 46 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../common/creatingdirs.xml" 49 xpointer="xpointer(//*[@os='f'])"/> 50 51 51 </sect1> -
BOOK/chroot/multilib/creatingdirs.xml
r03679c8 rd2ecc65 13 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 14 14 href="../common/creatingdirs.xml" 15 xpointer="xpointer(//*[@os=' a'])"/>15 xpointer="xpointer(//*[@os='b'])"/> 16 16 17 17 <screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt} … … 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 31 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"36 32 xpointer="xpointer(//*[@os='d'])"/> 37 33 … … 40 36 xpointer="xpointer(//*[@os='e'])"/> 41 37 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 39 href="../common/creatingdirs.xml" 40 xpointer="xpointer(//*[@os='f'])"/> 41 42 42 </sect1> -
BOOK/introduction/common/changelog.xml
r03679c8 rd2ecc65 38 38 39 39 <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> 40 51 <para>18 April 2014</para> 41 52 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.