- Timestamp:
- Jan 4, 2014, 12:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/boot
- Files:
-
- 13 added
- 5 deleted
- 42 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/64/createfiles.xml
rec008670 r229ed25 18 18 the next chapter after the software has been installed.</para> 19 19 20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 21 21 ln -sv /tools/bin/file ${CLFS}/usr/bin 22 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 22 23 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 23 24 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 24 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 25 ln -sv bash ${CLFS}/bin/sh 26 ln -sv ../run ${CLFS}/var/run</userinput></screen> 25 27 26 28 <para os="b">To enable some c++ tests in the Glibc and Binutils testsuites -
BOOK/boot/64/grub-build.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch- temp-system-ppl" role="wrap">9 <?dbhtml filename=" ppl.html"?>8 <sect1 id="ch-boot-grub-build" role="wrap"> 9 <?dbhtml filename="grub-build.html"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>GRUB-&grub-version;</title> 12 12 13 <indexterm zone="ch- temp-system-ppl">14 <primary sortas="a- PPL">PPL</primary>15 <secondary> temporary system</secondary>13 <indexterm zone="ch-boot-grub-build"> 14 <primary sortas="a-GRUB">GRUB</primary> 15 <secondary>boot</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/ common/ppl.xml"19 href="../../final-system/x86/grub.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of GRUB</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/ppl.xml" 26 href="../../final-system/x86/grub.xml" 27 xpointer="xpointer(//*[@os='n1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/x86/grub.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/x86/grub.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/x86/grub.xml" 27 39 xpointer="xpointer(//*[@os='a'])"/> 28 40 29 <screen os=" b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \41 <screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --enable-interfaces="c,cxx" --enable-shared \ 32 --disable-optimization --with-libgmp-prefix=/tools \ 33 --with-libgmpxx-prefix=/tools</userinput></screen> 43 --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen> 34 44 35 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/ppl.xml" 37 xpointer="xpointer(//*[@os='bp1'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/ppl.xml" 41 xpointer="xpointer(//*[@os='bp2'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/ppl.xml" 46 href="../../final-system/x86/grub.xml" 45 47 xpointer="xpointer(//*[@os='c'])"/> 46 48 47 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../ common/ppl.xml"50 href="../../final-system/x86/grub.xml" 49 51 xpointer="xpointer(//*[@os='d'])"/> 50 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"52 href="../common/ppl.xml"53 xpointer="xpointer(//*[@os='e'])"/>54 52 55 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 56 href="../ common/ppl.xml"54 href="../../final-system/x86/grub.xml" 57 55 xpointer="xpointer(//*[@os='f'])"/> 56 57 <screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 58 58 59 59 </sect2> … … 63 63 64 64 <para>Details on this package are located in <xref 65 linkend="contents- ppl" role="."/></para>65 linkend="contents-grub" role="."/></para> 66 66 67 67 </sect2> -
BOOK/boot/64/util-linux.xml
rec008670 r229ed25 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= true\29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= \ 30 30 ./configure --prefix=/tools --exec-prefix=/tools \ 31 31 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 32 -- enable-login-utils --disable-makeinstall-chown</userinput></screen>32 --disable-makeinstall-chown --disable-login --disable-su</userinput></screen> 33 33 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/alpha-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.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"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/kernel.xml"/> -
BOOK/boot/alpha/kernel.xml
rec008670 r229ed25 83 83 84 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 85 href="../../bootable/x86/kernel.xml" 86 xpointer="xpointer(//*[@os='s2'])"/> 87 88 <screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \ 89 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 90 91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 85 92 href="../x86/kernel.xml" 86 93 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/common/createfiles.xml
rec008670 r229ed25 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,pwd,sleep,stty} ${CLFS}/bin 18 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/bin/file ${CLFS}/usr/bin 20 21 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 22 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 22 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 23 ln -sv bash ${CLFS}/bin/sh 24 ln -sv /run ${CLFS}/var/run</userinput></screen> 23 25 24 26 </sect1> -
BOOK/boot/common/creatingdirs.xml
rec008670 r229ed25 15 15 16 16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt} 17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom}, sbin,srv,sys}18 mkdir -pv ${CLFS}/var/{lock,log,mail, run,spool}17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 18 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 19 19 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local} 20 20 install -dv -m 0750 ${CLFS}/root -
BOOK/boot/common/devices.xml
rec008670 r229ed25 20 20 <note os="a"> 21 21 <para>The commands in the remainder of the book should be run as 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that ${CLFS} is set as 24 <systemitem class="username">root</systemitem>.</para> 22 the <systemitem class="username">root</systemitem> user. Check 23 that ${CLFS} is set in the 24 <systemitem class="username">root</systemitem> user’s environment 25 before proceeding.</para> 25 26 </note> 26 27 -
BOOK/boot/common/fstab.xml
rec008670 r229ed25 32 32 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 33 33 shm /dev/shm tmpfs defaults 0 0 34 tmpfs /run tmpfs defaults 0 0 35 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 36 34 37 # End /etc/fstab</literal> 35 38 EOF</userinput></screen> -
BOOK/boot/common/pwdgroup.xml
rec008670 r229ed25 192 192 193 193 <para os="e">The created groups are not part of any standard—they are 194 groups decided on in part by the requirements of the Udev configuration194 groups decided on in part by the requirements of the Eudev configuration 195 195 in the final system, and in part by common convention employed by a 196 196 number of existing Linux distributions. The Linux Standard Base (LSB, -
BOOK/boot/common/sysvinit.xml
rec008670 r229ed25 24 24 25 25 <para os="aa">The following modifications help locate files specific to this 26 p erticular build:</para>26 particular build:</para> 27 27 28 28 <screen os="ab"><userinput>cp -v src/Makefile{,.orig} … … 86 86 87 87 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 88 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960089 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960090 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960091 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960092 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960093 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960088 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 89 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 90 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 91 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 92 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 93 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 94 94 </literal> 95 95 EOF</userinput></screen> … … 99 99 100 100 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 101 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100101 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 102 102 </literal> 103 103 EOF</userinput></screen> -
BOOK/boot/common/util-linux.xml
rec008670 r229ed25 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../../final-system/common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>PKG_CONFIG= true\29 <screen os="b"><userinput>PKG_CONFIG= \ 30 30 ./configure --prefix=/tools --exec-prefix=/tools \ 31 31 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 32 -- enable-login-utils --disable-makeinstall-chown</userinput></screen>32 --disable-makeinstall-chown --disable-login --disable-su</userinput></screen> 33 33 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/mips-chapter.xml
rec008670 r229ed25 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/> 19 <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/shadow.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/> 20 21 <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/ module-init-tools.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/> -
BOOK/boot/mips/kernel.xml
rec008670 r229ed25 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 77 href="../../bootable/x86/kernel.xml" 78 xpointer="xpointer(//*[@os='s2'])"/> 79 80 <screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \ 81 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 82 83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 77 84 href="../x86/kernel.xml" 78 85 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/mips64-64-chapter.xml
rec008670 r229ed25 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/> 19 <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="64/shadow.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/> 20 21 <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/module-init-tools.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" 64/udev.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/> -
BOOK/boot/mips64-chapter.xml
rec008670 r229ed25 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/> 19 <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="64/shadow.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/> 20 21 <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/ module-init-tools.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ udev.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/> -
BOOK/boot/mips64/createfiles.xml
rec008670 r229ed25 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 20 21 ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32 … … 23 24 ln -sv /tools/lib32/libstd*so* ${CLFS}/usr/lib32 24 25 ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64 25 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 26 ln -sv bash ${CLFS}/bin/sh 27 ln -sv ../run ${CLFS}/var/run</userinput></screen> 26 28 27 29 </sect1> -
BOOK/boot/mips64/creatingdirs.xml
rec008670 r229ed25 16 16 17 17 <screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt} 18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom}, sbin,srv,sys}19 mkdir -pv ${CLFS}/var/{lock,log,mail, run,spool}18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{shm},sbin,srv,sys} 19 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 20 20 mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local} 21 21 install -dv ${CLFS}/root -m 0750 -
BOOK/boot/mips64/kernel.xml
rec008670 r229ed25 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 href="../../bootable/x86/kernel.xml" 82 xpointer="xpointer(//*[@os='s2'])"/> 83 84 <screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 86 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/multilib/createfiles.xml
rec008670 r229ed25 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 20 21 ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64 21 22 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 22 23 ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64 23 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 24 ln -sv bash ${CLFS}/bin/sh 25 ln -sv ../run ${CLFS}/var/run</userinput></screen> 24 26 25 27 </sect1> -
BOOK/boot/multilib/creatingdirs.xml
rec008670 r229ed25 16 16 17 17 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt} 18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom}, sbin,srv,sys}19 mkdir -pv ${CLFS}/var/{lock,log,mail, run,spool}18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 20 20 mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local} 21 21 install -dv ${CLFS}/root -m 0750 -
BOOK/boot/multilib/e2fsprogs.xml
rec008670 r229ed25 55 55 xpointer="xpointer(//*[@os='f'])"/> 56 56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 href="../common/e2fsprogs.xml"59 xpointer="xpointer(//*[@os='g'])"/>57 <screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ 58 LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" \ 59 LDFLAGS="-Wl,-rpath,/tools/lib64"</userinput></screen> 60 60 61 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/multilib/grub-build.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch- temp-system-ppl" role="wrap">9 <?dbhtml filename=" ppl.html"?>8 <sect1 id="ch-boot-grub-build" role="wrap"> 9 <?dbhtml filename="grub-build.html"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>GRUB-&grub-version;</title> 12 12 13 <indexterm zone="ch- temp-system-ppl">14 <primary sortas="a- PPL">PPL</primary>15 <secondary> temporary system</secondary>13 <indexterm zone="ch-boot-grub-build"> 14 <primary sortas="a-GRUB">GRUB</primary> 15 <secondary>boot</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/ common/ppl.xml"19 href="../../final-system/x86/grub.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of GRUB</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/ppl.xml" 26 href="../../final-system/x86/grub.xml" 27 xpointer="xpointer(//*[@os='n1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/x86/grub.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/x86/grub.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/x86/grub.xml" 27 39 xpointer="xpointer(//*[@os='a'])"/> 28 40 29 <screen os=" b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \41 <screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --enable-interfaces="c,cxx" --libdir=/tools/lib64 --enable-shared \ 32 --disable-optimization --with-libgmp-prefix=/tools \ 33 --with-libgmpxx-prefix=/tools</userinput></screen> 43 --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen> 34 44 35 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/ppl.xml" 37 xpointer="xpointer(//*[@os='bp1'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/ppl.xml" 41 xpointer="xpointer(//*[@os='bp2'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/ppl.xml" 46 href="../../final-system/x86/grub.xml" 45 47 xpointer="xpointer(//*[@os='c'])"/> 46 48 47 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../ common/ppl.xml"50 href="../../final-system/x86/grub.xml" 49 51 xpointer="xpointer(//*[@os='d'])"/> 50 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"52 href="../common/ppl.xml"53 xpointer="xpointer(//*[@os='e'])"/>54 52 55 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 56 href="../ common/ppl.xml"54 href="../../final-system/x86/grub.xml" 57 55 xpointer="xpointer(//*[@os='f'])"/> 56 57 <screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 58 58 59 59 </sect2> … … 63 63 64 64 <para>Details on this package are located in <xref 65 linkend="contents- ppl" role="."/></para>65 linkend="contents-grub" role="."/></para> 66 66 67 67 </sect2> -
BOOK/boot/multilib/util-linux.xml
rec008670 r229ed25 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \ 30 ./configure \ 31 --prefix=/tools --exec-prefix=/tools \ 32 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 33 --libdir=/tools/lib64 --enable-login-utils \ 34 --disable-makeinstall-chown</userinput></screen> 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure \ 30 --prefix=/tools --exec-prefix="" --build=${CLFS_HOST} \ 31 --host=${CLFS_TARGET} --libdir=/tools/lib64 --bindir=/tools/bin \ 32 --sbindir=/tools/sbin --disable-makeinstall-chown --disable-login \ 33 --disable-su</userinput></screen> 35 34 36 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 46 45 xpointer="xpointer(//*[@os='g'])"/> 47 46 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 49 href="../common/util-linux.xml" 50 xpointer="xpointer(//*[@os='h'])"/> 47 <screen os="h"><userinput>make usrsbin_execdir=/tools/sbin usrbin_execdir=/tools/bin install</userinput></screen> 51 48 52 49 </sect2> -
BOOK/boot/ppc-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.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"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/> -
BOOK/boot/ppc/kernel.xml
rec008670 r229ed25 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 82 href="../../bootable/x86/kernel.xml" 83 xpointer="xpointer(//*[@os='s2'])"/> 84 85 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \ 86 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 87 88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 82 89 href="../x86/kernel.xml" 83 90 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/ppc/yaboot-build.xml
rec008670 r229ed25 23 23 <title>Installation of Yaboot</title> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../final-system/ppc/yaboot.xml" 27 xpointer="xpointer(//*[@os='p3'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/ppc/yaboot.xml" 31 xpointer="xpointer(//*[@os='p4'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/ppc/yaboot.xml" 35 xpointer="xpointer(//*[@os='p5'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/ppc/yaboot.xml" 39 xpointer="xpointer(//*[@os='p6'])"/> 40 25 41 <para os="p1">The following patch allows <command>ofpath</command> to use 26 42 <literal>PATH_PREFIX</literal> like the other … … 33 49 loader. It also tries to change user and group ownership for the installed 34 50 files to <systemitem class="username">root</systemitem>, which the 35 <systemitem class="username">clfs</systemitem> user cannot do. The following 36 command fixes both issues:</para> 51 <systemitem class="username">clfs</systemitem> user cannot do. It will also 52 fail due to a compile warning with the -Werror flag on. The following 53 command fixes these issues:</para> 37 54 38 55 <screen><userinput>cp -v Makefile{,.orig} 39 56 sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 40 57 -e 's/-o root -g root//' \ 58 -e 's/-Werror//' \ 41 59 Makefile.orig > Makefile</userinput></screen> 42 60 -
BOOK/boot/ppc64-64/powerpc-utils.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch- system-udev-32" role="wrap">9 <?dbhtml filename=" udev.html"?>8 <sect1 id="ch-boot-powerpc-utils" role="wrap"> 9 <?dbhtml filename="powerpc-utils.html"?> 10 10 11 <title> Udev-&udev-version; 32 Bit Libraries</title>11 <title>Powerpc-Utils_&powerpcutils-version;</title> 12 12 13 <indexterm zone="ch- system-udev-32">14 <primary sortas="a- Udev">Udev 32 Bit Libraries</primary>15 <secondary> 32 Bit</secondary>13 <indexterm zone="ch-boot-powerpc-utils"> 14 <primary sortas="a-Powerpc-Utils">Powerpc-Utils</primary> 15 <secondary>boot</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../ common/udev.xml"19 href="../../final-system/ppc/powerpc-utils.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of Udev</title>23 <title>Installation of Powerpc-Utils</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../ common/udev.xml"26 href="../../final-system/ppc/powerpc-utils.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 … … 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/udev.xml" 36 href="../ppc/powerpc-utils.xml" 37 xpointer="xpointer(//*[@os='a'])"/> 38 39 <screen><userinput>${CC} ${BUILD64} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../ppc/powerpc-utils.xml" 37 43 xpointer="xpointer(//*[@os='c'])"/> 38 44 39 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../ common/udev.xml"46 href="../ppc/powerpc-utils.xml" 41 47 xpointer="xpointer(//*[@os='d'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"44 href="../common/udev.xml"45 xpointer="xpointer(//*[@os='g'])"/>46 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"48 href="../common/udev.xml"49 xpointer="xpointer(//*[@os='h'])"/>50 48 51 49 </sect2> … … 54 52 <title/> 55 53 56 <para>Details on this package are located in <xref 57 linkend="contents-udev" role="."/></para> 54 <para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para> 58 55 59 56 </sect2> 57 60 58 </sect1> 61 -
BOOK/boot/ppc64-chapter.xml
rec008670 r229ed25 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/> 16 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="ppc64/util-linux-32.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/> 18 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/> 20 22 <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/ module-init-tools.xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ udev.xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/> 23 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/> … … 27 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/> 28 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/> 29 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/> 30 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/> -
BOOK/boot/ppc64/e2fsprogs.xml
rec008670 r229ed25 68 68 xpointer="xpointer(//*[@os='f'])"/> 69 69 70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 71 href="../64/e2fsprogs.xml" 72 xpointer="xpointer(//*[@os='g'])"/> 70 <screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ 71 LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs 72 make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \ 73 STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen> 73 74 74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 75 href="../common/e2fsprogs.xml" 76 xpointer="xpointer(//*[@os='i'])"/> 75 <para os="i">Install the e2fsck binary:</para> 77 76 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 79 href="../common/e2fsprogs.xml" 80 xpointer="xpointer(//*[@os='j'])"/> 77 <screen os="j"><userinput>make install -C e2fsck</userinput></screen> 81 78 82 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/ppc64/kernel.xml
rec008670 r229ed25 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 href="../../bootable/x86/kernel.xml" 82 xpointer="xpointer(//*[@os='s2'])"/> 83 84 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 86 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/ppc64/util-linux-32.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch- system-udev-n32" role="wrap">9 <?dbhtml filename="u dev-n32.html"?>8 <sect1 id="ch-boot-util-linux-32" role="wrap"> 9 <?dbhtml filename="util-linux-32.html"?> 10 10 11 <title>U dev-&udev-version; N32 Libraries</title>11 <title>Util-linux-&util-linux-version; 32bit</title> 12 12 13 <indexterm zone="ch- system-udev-n32">14 <primary sortas="a-U dev">Udev</primary>15 <secondary> N32</secondary>13 <indexterm zone="ch-boot-util-linux-32"> 14 <primary sortas="a-Util-linux">Util-linux 32bit</primary> 15 <secondary>boot</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../ common/udev.xml"19 href="../../final-system/common/util-linux.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of U dev</title>24 23 <title>Installation of Util-linux 32 bit</title> 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/u dev.xml"26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 … … 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/udev.xml" 37 xpointer="xpointer(//*[@os='c'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/udev.xml" 36 href="../common/util-linux.xml" 41 37 xpointer="xpointer(//*[@os='d'])"/> 42 38 43 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/udev.xml" 40 href="../common/util-linux.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/util-linux.xml" 45 45 xpointer="xpointer(//*[@os='g'])"/> 46 46 47 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../common/u dev.xml"48 href="../common/util-linux.xml" 49 49 xpointer="xpointer(//*[@os='h'])"/> 50 50 … … 55 55 56 56 <para>Details on this package are located in <xref 57 linkend="contents-u dev" role="."/></para>57 linkend="contents-util-linux" role="."/></para> 58 58 59 59 </sect2> 60 60 61 </sect1> 61 62 63 -
BOOK/boot/ppc64/yaboot-build.xml
rec008670 r229ed25 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../final-system/ppc/yaboot.xml" 27 xpointer="xpointer(//*[@os='p3'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/ppc/yaboot.xml" 31 xpointer="xpointer(//*[@os='p4'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/ppc/yaboot.xml" 35 xpointer="xpointer(//*[@os='p5'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/ppc/yaboot.xml" 39 xpointer="xpointer(//*[@os='p6'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 42 href="../ppc/yaboot-build.xml" 27 43 xpointer="xpointer(//*[@os='p1'])"/> … … 43 59 -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 44 60 -e 's/-o root -g root//' \ 61 -e 's/-Werror//' \ 45 62 Makefile.orig > Makefile</userinput></screen> 46 63 -
BOOK/boot/sparc-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.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"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc/fstab.xml
rec008670 r229ed25 29 29 proc /proc proc defaults 0 0 30 30 sysfs /sys sysfs defaults 0 0 31 devpts /dev/pts devpts gid= 4,mode=620 0 031 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 32 32 shm /dev/shm tmpfs defaults 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 33 35 none /proc/openprom openpromfs defaults 0 0 34 36 # End /etc/fstab</literal> -
BOOK/boot/sparc/kernel.xml
rec008670 r229ed25 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 77 href="../../bootable/x86/kernel.xml" 78 xpointer="xpointer(//*[@os='s2'])"/> 79 80 <screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \ 81 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 82 83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 77 84 href="../x86/kernel.xml" 78 85 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/sparc/silo-build.xml
rec008670 r229ed25 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <para os="ae">This sed allows us to compile the bin2h binary separately.</para> 34 35 <screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &@' common/Makefile</userinput></screen> 36 37 <para os="af">Compile the bin2h and util binaries for the host.</para> 38 39 <screen os="aa"><userinput>make -C common programs CC=cc 40 make -C second util CC=cc</userinput></screen> 41 42 <variablelist> 43 <varlistentry> 44 <term><parameter>CC=cc</parameter></term> 45 <listitem> 46 <para>Overwrites the default value of <command>gcc -m32</command> which will fail 47 to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para> 48 </listitem> 49 </varlistentry> 50 </variablelist> 51 33 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 53 href="../../final-system/sparc/silo.xml" 35 54 xpointer="xpointer(//*[@os='c'])"/> 36 55 37 <screen os="a a"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>56 <screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen> 38 57 39 58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/sparc64-64-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.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="x86_64-64/e2fsprogs.xml"/> 19 20 <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/module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" 64/udev.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="x86_64-64/eudev.xml"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc64-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.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"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc64/kernel.xml
rec008670 r229ed25 73 73 xpointer="xpointer(//*[@os='s'])"/> 74 74 75 <screen><userinput>make INSTALL_MOD_PATH=${CLFS} ARCH=sparc64\75 <screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \ 76 76 CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen> 77 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 79 href="../../bootable/x86/kernel.xml" 80 xpointer="xpointer(//*[@os='s2'])"/> 81 82 <screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \ 83 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 77 84 78 85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/x86-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/> -
BOOK/boot/x86/grub-build.xml
rec008670 r229ed25 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 30 href="../../final-system/x86/grub.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/x86/grub.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/x86/grub.xml" 31 39 xpointer="xpointer(//*[@os='a'])"/> 32 40 33 <screen os="ab"><userinput>./configure --prefix=/ usr\41 <screen os="ab"><userinput>./configure --prefix=/tools \ 34 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 35 43 --sysconfdir=/etc --disable-werror</userinput></screen> -
BOOK/boot/x86/kernel.xml
rec008670 r229ed25 82 82 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 83 83 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 85 href="../../bootable/x86/kernel.xml" 86 xpointer="xpointer(//*[@os='s2'])"/> 87 88 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \ 89 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 90 84 91 <para os="u">After kernel compilation is complete, additional steps are 85 92 required to complete the installation. Some files need to be copied to -
BOOK/boot/x86_64-64-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.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="x86_64-64/e2fsprogs.xml"/> 19 20 <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/module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" 64/udev.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="x86_64-64/eudev.xml"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <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=" x86/grub-build.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/> 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/> -
BOOK/boot/x86_64-chapter.xml
rec008670 r229ed25 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.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"/> 19 20 <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/ module-init-tools.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ udev.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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <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=" x86/grub-build.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/> 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/> -
BOOK/boot/x86_64/kernel.xml
rec008670 r229ed25 79 79 80 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 href="../../bootable/x86/kernel.xml" 82 xpointer="xpointer(//*[@os='s2'])"/> 83 84 <screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \ 85 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen> 86 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/>
Note:
See TracChangeset
for help on using the changeset viewer.