- Timestamp:
- Sep 22, 2006, 8:30:38 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8953f24
- Parents:
- 5921622
- Location:
- BOOK
- Files:
-
- 91 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/changingowner.xml
r5921622 r040521bc 11 11 <title>Changing Ownership</title> 12 12 13 <para os="a">Currently, the <filename class="directory">$ CLFS</filename>13 <para os="a">Currently, the <filename class="directory">${CLFS}</filename> 14 14 directory and all of its subdirectories are owned by the user 15 15 <systemitem class="username">clfs</systemitem>, a user that exists only 16 on the host system. For security reasons, the $ CLFSroot directory and16 on the host system. For security reasons, the ${CLFS} root directory and 17 17 all of it subdirectories should be owned by 18 18 <systemitem class="username">root</systemitem>. Change the ownership 19 for $ CLFSand its subdirectories by running this command:</para>19 for ${CLFS} and its subdirectories by running this command:</para> 20 20 21 21 <screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen> -
BOOK/boot/common/devices.xml
r5921622 r040521bc 21 21 <para>The commands in the remainder of the book should be run as 22 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that $ CLFSis set as23 double-check that ${CLFS} is set as 24 24 <systemitem class="username">root</systemitem>.</para> 25 25 </note> -
BOOK/boot/common/introduction.xml
r5921622 r040521bc 17 17 <para>There are a few additional packages that will need to be 18 18 installed to allow you to boot the minimal system. Some of these 19 packages will be installed onto theroot or in /usr on the CLFS20 partition ($ CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the19 packages will be installed onto root or in /usr on the CLFS 20 partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the 21 21 "DESTDIR" option with make. This will require the 22 22 <systemitem class="username">clfs</systemitem> user to have write access to 23 the rest of the $CLFS partition, so you will need to temporarily change the24 ownership of $ CLFSto the <systemitem class="username">clfs</systemitem> user.23 the rest of the CLFS partition, so you will need to temporarily change the 24 ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user. 25 25 Run the following command as <systemitem 26 26 class="username">root</systemitem>:</para> 27 27 28 <screen><userinput>chown -v clfs $ CLFS</userinput></screen>28 <screen><userinput>chown -v clfs ${CLFS}</userinput></screen> 29 29 30 30 </sect1> -
BOOK/boot/mips64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/mips64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/multilib/udev.xml
r5921622 r040521bc 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}"\30 udevdir=/dev</userinput></screen>29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" \ 30 LD="${CC} ${BUILD64}"</userinput></screen> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/sparc64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/x86/grub-build.xml
r5921622 r040521bc 56 56 <screen os="ab"><userinput>make DESTDIR=${CLFS} install 57 57 mkdir -v ${CLFS}/boot/grub 58 cp -v ${CLFS}/usr/lib/grub/ i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>58 cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen> 59 59 60 <para os="ac">The <filename class="directory">i386-pc</filename> directory 61 contains a number of <filename>*stage1_5</filename> files, different 62 ones for different file systems. Review the files available and copy 63 the appropriate ones to the <filename 60 <para os="ac">The directory in 61 <filename class="directory">${CLFS}/usr/lib/grub</filename> (its name 62 depends on your arch) contains a number of <filename>*stage1_5</filename> 63 files, different ones for different file systems. Review the files 64 available and copy the appropriate ones to the <filename 64 65 class="directory">${CLFS}/boot/grub</filename> directory. Most users will 65 66 copy the <filename>e2fs_stage1_5</filename> and/or -
BOOK/boot/x86_64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our build variables into our new system so that 14 when we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/x86_64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/x86_64/grub-build.xml
r5921622 r040521bc 62 62 xpointer="xpointer(//*[@os='f'])"/> 63 63 64 <screen os="ab"><userinput>make DESTDIR=${CLFS} install 65 mkdir -v ${CLFS}/boot/grub 66 cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../x86/grub-build.xml" 66 xpointer="xpointer(//*[@os='ab'])"/> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../ ../final-system/x86_64/grub.xml"70 xpointer="xpointer(//*[@os=' i'])"/>69 href="../x86/grub-build.xml" 70 xpointer="xpointer(//*[@os='ac'])"/> 71 71 72 <para os="j">The <filename class="directory">x86_64-pc</filename>73 directory contains a number of <filename>*stage1_5</filename>74 files, different ones for different file systems. Review the files75 available and copy the appropriate ones to the <filename76 class="directory">${CLFS}/boot/grub</filename> directory. Most77 users will copy the <filename>e2fs_stage1_5</filename> and/or78 <filename>reiserfs_stage1_5</filename> files.</para>79 72 80 73 </sect2> -
BOOK/bootscripts/common/udev-rules.xml
r5921622 r040521bc 149 149 <term><command>load_floppy_module.sh</command></term> 150 150 <listitem> 151 <para>To be Written.</para> 151 <para>Checks to see if a floppy drive exists before loading 152 the floppy drive module into memory.</para> 152 153 <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh"> 153 154 <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary> … … 159 160 <term><command>show_event_log</command></term> 160 161 <listitem> 161 <para> To be Written.</para>162 <para>Displays Udev log messages from /var/log/messages.</para> 162 163 <indexterm zone="ch-scripts-udev-rules show_event_log"> 163 164 <primary sortas="d-show_event_log">show_event_log</primary> … … 176 177 </varlistentry> 177 178 178 <varlistentry id="udev_retry">179 <term><command>udev_retry</command></term>180 <listitem>181 <para>To be Written.</para>182 <indexterm zone="ch-scripts-udev-rules udev_retry">183 <primary sortas="d-udev_retry">udev_retry</primary>184 </indexterm>185 </listitem>186 </varlistentry>187 188 179 </variablelist> 189 180 -
BOOK/chroot/common/chroot.xml
r5921622 r040521bc 17 17 temporary tools:</para> 18 18 19 <screen><userinput>chroot "$ CLFS" /tools/bin/env -i \20 HOME=/root TERM="$ TERM" PS1='\u:\w\$ ' \19 <screen><userinput>chroot "${CLFS}" /tools/bin/env -i \ 20 HOME=/root TERM="${TERM}" PS1='\u:\w\$ ' \ 21 21 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ 22 22 /tools/bin/bash --login +h</userinput></screen> … … 27 27 <envar>TERM</envar>, <envar>PS1</envar>, and 28 28 <envar>PATH</envar> variables are set again. The 29 <parameter>TERM=$ TERM</parameter> construct will set the29 <parameter>TERM=${TERM}</parameter> construct will set the 30 30 <envar>TERM</envar> variable inside chroot to the same value as 31 31 outside chroot. This variable is needed for programs like … … 38 38 <envar>CLFS</envar> variable anymore, because all work will be 39 39 restricted to the CLFS file system. This is because the Bash shell is 40 told that <filename class="directory">$ CLFS</filename> is now the root40 told that <filename class="directory">${CLFS}</filename> is now the root 41 41 (<filename class="directory">/</filename>) directory.</para> 42 42 -
BOOK/chroot/common/kernfs.xml
r5921622 r040521bc 23 23 be mounted:</para> 24 24 25 <screen><userinput>mkdir -pv $ CLFS/{dev,proc,sys}</userinput></screen>25 <screen><userinput>mkdir -pv ${CLFS}/{dev,proc,sys}</userinput></screen> 26 26 27 27 <para>Now mount the file systems:</para> 28 28 29 <screen><userinput>mount -vt proc proc $ CLFS/proc30 mount -vt sysfs sysfs $ CLFS/sys</userinput></screen>29 <screen><userinput>mount -vt proc proc ${CLFS}/proc 30 mount -vt sysfs sysfs ${CLFS}/sys</userinput></screen> 31 31 32 32 <para>Remember that if for any reason you stop working on the CLFS system … … 38 38 starting Udev early in the boot process, so we create them here:</para> 39 39 40 <screen><userinput>mknod -m 600 $ CLFS/dev/console c 5 141 mknod -m 666 $ CLFS/dev/null c 1 3</userinput></screen>40 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 41 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen> 42 42 43 43 <para>Once the system is complete and booting, the rest of our device … … 48 48 appear in the new CLFS filesystem:</para> 49 49 50 <screen><userinput>mount -v -o bind /dev $ CLFS/dev</userinput></screen>50 <screen><userinput>mount -v -o bind /dev ${CLFS}/dev</userinput></screen> 51 51 52 52 <para>Additional file systems will soon be mounted from within the chroot … … 54 54 for each of these now:</para> 55 55 56 <screen><userinput>mount -f -vt tmpfs tmpfs $ CLFS/dev/shm57 mount -f -vt devpts -o gid=4,mode=620 devpts $ CLFS/dev/pts</userinput></screen>56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm 57 mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 58 58 59 59 </sect1> -
BOOK/chroot/multilib/util-linux.xml
r5921622 r040521bc 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 56 href="../common/util-linux.xml" 57 xpointer="xpointer(//*[@os='bg'])"/> 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../common/util-linux.xml" 57 61 xpointer="xpointer(//*[@os='ce'])"/> 58 62 -
BOOK/chroot/x86_64/flags.xml
r5921622 r040521bc 12 12 13 13 <para>We will need to setup target specific flags for the compiler 14 and linkers .</para>14 and linkers:</para> 15 15 16 16 <screen><userinput>export BUILD32="-m32" -
BOOK/cross-tools/alpha/gcc-final.xml
r5921622 r040521bc 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 74 href="gcc-static.xml" 75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="gcc-static.xml"79 75 xpointer="xpointer(//*[@os='f'])"/> 80 76 -
BOOK/cross-tools/alpha/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/alpha/glibc-headers.xml
r5921622 r040521bc 58 58 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 59 59 60 < warningos="e1">60 <note os="e1"> 61 61 <para><emphasis>Any</emphasis> error message you see about nptl at this point 62 62 can safely be ignored.</para> 63 </ warning>63 </note> 64 64 65 65 <variablelist os="ca"> -
BOOK/cross-tools/mips/gcc-final.xml
r5921622 r040521bc 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 74 href="gcc-static.xml" 75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="gcc-static.xml"79 75 xpointer="xpointer(//*[@os='f'])"/> 80 76 -
BOOK/cross-tools/mips/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/mips64-64/gcc-final.xml
r5921622 r040521bc 70 70 href="gcc-static.xml" 71 71 xpointer="xpointer(//*[@os='aj'])"/> 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="gcc-static.xml"75 xpointer="xpointer(//*[@os='ak'])"/>76 72 77 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips64-64/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/mips64/gcc-final.xml
r5921622 r040521bc 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 82 href="gcc-static.xml" 83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="gcc-static.xml"87 83 xpointer="xpointer(//*[@os='f'])"/> 88 84 -
BOOK/cross-tools/mips64/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/multilib/glibc-64bit.xml
r5921622 r040521bc 91 91 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term> 92 92 <listitem> 93 <para>Forces Glibc to utilize our target architecture GCC utilizing94 the 64 Bit flags.</para>93 <para>Forces Glibc to build using our target architecture GCC 94 utilizing the 64 Bit flags.</para> 95 95 </listitem> 96 96 </varlistentry> -
BOOK/cross-tools/ppc/gcc-final.xml
r5921622 r040521bc 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 74 href="gcc-static.xml" 75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="gcc-static.xml"79 75 xpointer="xpointer(//*[@os='f'])"/> 80 76 -
BOOK/cross-tools/ppc/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/ppc64/gcc-final.xml
r5921622 r040521bc 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 82 href="gcc-static.xml" 83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="gcc-static.xml"87 83 xpointer="xpointer(//*[@os='f'])"/> 88 84 -
BOOK/cross-tools/ppc64/gcc-static.xml
r5921622 r040521bc 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../x86/gcc-static.xml"71 xpointer="xpointer(//*[@os='ak'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 70 href="../../final-system/common/gcc.xml" 75 71 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/sparc/gcc-final.xml
r5921622 r040521bc 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 90 href="gcc-static.xml" 91 xpointer="xpointer(//*[@os='ak'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="gcc-static.xml"95 91 xpointer="xpointer(//*[@os='f'])"/> 96 92 -
BOOK/cross-tools/sparc/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/sparc64-64/gcc-final.xml
r5921622 r040521bc 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 82 href="gcc-static.xml" 83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="gcc-static.xml"87 83 xpointer="xpointer(//*[@os='f'])"/> 88 84 -
BOOK/cross-tools/sparc64-64/gcc-static.xml
r5921622 r040521bc 63 63 64 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../x86/gcc-static.xml"66 xpointer="xpointer(//*[@os='ak'])"/>67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"69 65 href="../../final-system/common/gcc.xml" 70 66 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/sparc64/gcc-final.xml
r5921622 r040521bc 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 90 href="gcc-static.xml" 91 xpointer="xpointer(//*[@os='ak'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="gcc-static.xml"95 91 xpointer="xpointer(//*[@os='f'])"/> 96 92 -
BOOK/cross-tools/sparc64/gcc-static.xml
r5921622 r040521bc 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../x86/gcc-static.xml"71 xpointer="xpointer(//*[@os='ak'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 70 href="../../final-system/common/gcc.xml" 75 71 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/x86/gcc-final.xml
r5921622 r040521bc 76 76 <screen os="be"><userinput>cp -v configure{,.orig} 77 77 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen> 78 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"80 href="gcc-static.xml"81 xpointer="xpointer(//*[@os='ak'])"/>82 78 83 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86/gcc-static.xml
r5921622 r040521bc 54 54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \ 55 55 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 56 57 <important os="ak">58 <para>The above modifications are critical in ensuring a59 successful overall build. Do not forget to apply them.</para>60 </important>61 56 62 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86_64-64/gcc-final.xml
r5921622 r040521bc 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 74 href="gcc-static.xml" 75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="gcc-static.xml"79 75 xpointer="xpointer(//*[@os='f'])"/> 80 76 -
BOOK/cross-tools/x86_64-64/gcc-static.xml
r5921622 r040521bc 63 63 64 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../x86/gcc-static.xml"66 xpointer="xpointer(//*[@os='ak'])"/>67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"69 65 href="../../final-system/common/gcc.xml" 70 66 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/cross-tools/x86_64/gcc-final.xml
r5921622 r040521bc 80 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 81 href="gcc-static.xml" 82 xpointer="xpointer(//*[@os='ak'])"/>83 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"85 href="gcc-static.xml"86 82 xpointer="xpointer(//*[@os='f'])"/> 87 83 -
BOOK/cross-tools/x86_64/gcc-static.xml
r5921622 r040521bc 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../x86/gcc-static.xml"68 xpointer="xpointer(//*[@os='ak'])"/>69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 67 href="../../final-system/common/gcc.xml" 72 68 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/final-preps/aboutclfs.xml
r5921622 r040521bc 9 9 <?dbhtml filename="aboutclfs.html"?> 10 10 11 <title>About $ CLFS</title>11 <title>About ${CLFS}</title> 12 12 13 13 <para>Throughout this book, the environment variable <envar>CLFS</envar> will … … 16 16 Check that the <envar>CLFS</envar> variable is set up properly with:</para> 17 17 18 <screen><userinput>echo $ CLFS</userinput></screen>18 <screen><userinput>echo ${CLFS}</userinput></screen> 19 19 20 20 <para>Make sure the output shows the path to the CLFS partition's mount … … 26 26 27 27 <para>Having this variable set is beneficial in that commands such as 28 <command>install -dv $ CLFS/tools</command> can be typed literally. The shell29 will automatically replace <quote>$ CLFS</quote> with28 <command>install -dv ${CLFS}/tools</command> can be typed literally. The shell 29 will automatically replace <quote>${CLFS}</quote> with 30 30 <quote>/mnt/clfs</quote> (or whatever the variable was set to) when it 31 31 processes the command line.</para> 32 32 33 <para>If you haven't created the <filename class="directory">$ CLFS</filename>33 <para>If you haven't created the <filename class="directory">${CLFS}</filename> 34 34 directory, do so at this time by issuing the following commands:</para> 35 35 36 <screen><userinput>install -dv $ CLFS</userinput></screen>36 <screen><userinput>install -dv ${CLFS}</userinput></screen> 37 37 38 <para>Do not forget to check that <envar>$ CLFS</envar> is set whenever38 <para>Do not forget to check that <envar>${CLFS}</envar> is set whenever 39 39 you leave and reenter the current working environment (as when doing a 40 40 <quote>su</quote> to <systemitem class="username">root</systemitem> or -
BOOK/final-preps/addinguser.xml
r5921622 r040521bc 79 79 80 80 <para>Grant <systemitem class="username">clfs</systemitem> full access to 81 <filename class="directory">$ CLFS/cross-tools</filename> and82 <filename class="directory">$ CLFS/tools</filename> by making <systemitem81 <filename class="directory">${CLFS}/cross-tools</filename> and 82 <filename class="directory">${CLFS}/tools</filename> by making <systemitem 83 83 class="username">clfs</systemitem> the directorys' owner:</para> 84 84 85 <screen><userinput>chown -v clfs $ CLFS/tools86 chown -v clfs $ CLFS/cross-tools</userinput></screen>85 <screen><userinput>chown -v clfs ${CLFS}/tools 86 chown -v clfs ${CLFS}/cross-tools</userinput></screen> 87 87 88 88 <para>If a separate working directory was created as suggested, 89 89 give user <systemitem class="username">clfs</systemitem> ownership of this directory:</para> 90 90 91 <screen><userinput>chown -v clfs $ CLFS/sources</userinput></screen>91 <screen><userinput>chown -v clfs ${CLFS}/sources</userinput></screen> 92 92 93 93 <para>Next, login as user <systemitem class="username">clfs</systemitem>. -
BOOK/final-preps/creatingcrossdir.xml
r5921622 r040521bc 9 9 <?dbhtml filename="creatingcrossdir.html"?> 10 10 11 <title>Creating the $ CLFS/cross-tools Directory</title>11 <title>Creating the ${CLFS}/cross-tools Directory</title> 12 12 13 13 <para>The cross-binutils and cross-compiler built in 14 14 <xref linkend="chapter-cross-tools"/> will be installed under 15 <filename class="directory">$ CLFS/cross-tools</filename> to keep them15 <filename class="directory">${CLFS}/cross-tools</filename> to keep them 16 16 separate from the host programs. The programs compiled here are 17 17 cross-tools and will not be a part of the final CLFS system or the … … 22 22 <systemitem class="username">root</systemitem>:</para> 23 23 24 <screen><userinput>install -dv $ CLFS/cross-tools</userinput></screen>24 <screen><userinput>install -dv ${CLFS}/cross-tools</userinput></screen> 25 25 26 26 <para>The next step is to create a <filename … … 29 29 Run this command as <systemitem class="username">root</systemitem> as well:</para> 30 30 31 <screen><userinput>ln -sv $ CLFS/cross-tools /</userinput></screen>31 <screen><userinput>ln -sv ${CLFS}/cross-tools /</userinput></screen> 32 32 33 33 <para>The symlink isn't technically necessary (though the book's 34 34 instructions do assume its existence), but is there mainly for 35 consistency (because /tools is also symlinked to $ CLFS/tools) and to35 consistency (because /tools is also symlinked to ${CLFS}/tools) and to 36 36 simplify the installation of the cross-compile tools.</para> 37 37 -
BOOK/final-preps/creatingtoolsdir.xml
r5921622 r040521bc 9 9 <?dbhtml filename="creatingtoolsdir.html"?> 10 10 11 <title>Creating the $ CLFS/tools Directory</title>11 <title>Creating the ${CLFS}/tools Directory</title> 12 12 13 13 <para>All programs compiled in <xref linkend="chapter-temp-system"/> 14 will be installed under <filename class="directory">$ CLFS/tools</filename>14 will be installed under <filename class="directory">${CLFS}/tools</filename> 15 15 to keep them separate from the programs compiled in <xref 16 16 linkend="chapter-building-system"/>. The programs compiled here are … … 24 24 <systemitem class="username">root</systemitem>:</para> 25 25 26 <screen><userinput>install -dv $ CLFS/tools</userinput></screen>26 <screen><userinput>install -dv ${CLFS}/tools</userinput></screen> 27 27 28 28 <para>The next step is to create a <filename class="symlink">/tools</filename> … … 31 31 class="username">root</systemitem> as well:</para> 32 32 33 <screen><userinput>ln -sv $ CLFS/tools /</userinput></screen>33 <screen><userinput>ln -sv ${CLFS}/tools /</userinput></screen> 34 34 35 35 <note> -
BOOK/final-preps/settingenviron.xml
r5921622 r040521bc 17 17 18 18 <screen os="b"><userinput>cat > ~/.bash_profile << "EOF" 19 <literal>exec env -i HOME=$ HOME TERM=$TERMPS1='\u:\w\$ ' /bin/bash</literal>19 <literal>exec env -i HOME=${HOME} TERM=${TERM} PS1='\u:\w\$ ' /bin/bash</literal> 20 20 EOF</userinput></screen> 21 21 … … 56 56 the shell will always search the <envar>PATH</envar> when a program is to 57 57 be run. As such, the shell will find the newly compiled tools in 58 <filename class="directory"> $CLFS/cross-tools</filename> as soon as they are58 <filename class="directory">/cross-tools</filename> as soon as they are 59 59 available without remembering a previous version of the same program in a 60 60 different location.</para> -
BOOK/final-system/alpha/aboot.xml
r5921622 r040521bc 23 23 24 24 <sect2 role="installation"> 25 <title>Installation of Aboot</title>25 <title>Installation of aboot</title> 26 26 27 27 <para os="aa">The following patch addresses build issues with GCC &gcc-version;:</para> … … 69 69 <term><command>e2writeboot</command></term> 70 70 <listitem> 71 <para>Can be usedto write a secondary bootstrap loader to an71 <para>Can be used to write a secondary bootstrap loader to an 72 72 ext2 formatted filesystem (normally on a floppy disk).</para> 73 73 <indexterm zone="ch-system-aboot e2writeboot"> -
BOOK/final-system/common/findutils.xml
r5921622 r040521bc 58 58 <screen os="h"><userinput>make install</userinput></screen> 59 59 60 <para os="i"> Find from Findutilsis used by some of the scripts60 <para os="i">The <command>find</command> program is used by some of the scripts 61 61 in the CLFS-Bootscripts package. As <filename 62 62 class="directory">/usr</filename> may not be available during the early -
BOOK/final-system/common/module-init-tools.xml
r5921622 r040521bc 65 65 <term><parameter>INSTALL=install</parameter></term> 66 66 <listitem> 67 <para>Normally, make installwill not install the binaries if they67 <para>Normally, <command>make install</command> will not install the binaries if they 68 68 already exist. This option overrides that behavior by calling 69 69 <command>install</command> instead of using the default wrapper -
BOOK/final-system/common/ncurses.xml
r5921622 r040521bc 54 54 ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen> 55 55 56 <para os="l">Give the Ncurses libraries execute permissions:</para>56 <para os="l">Give the Ncurses dynamic libraries execute permissions:</para> 57 57 58 58 <screen os="m"><userinput>chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen> -
BOOK/final-system/common/perl.xml
r5921622 r040521bc 28 28 <para os="s1">The following sed causes <filename>DynaLoader.a</filename> 29 29 to be built with -fPIC so it can be linked into a shared library 30 later .</para>30 later:</para> 31 31 32 32 <screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \ -
BOOK/final-system/common/stripping.xml
r5921622 r040521bc 33 33 <para os="e">Then reenter it with:</para> 34 34 35 <screen os="f" role="nodump"><userinput>chroot $ CLFS/tools/bin/env -i \36 HOME=/root TERM=$ TERMPS1='\u:\w\$ ' \35 <screen os="f" role="nodump"><userinput>chroot ${CLFS} /tools/bin/env -i \ 36 HOME=/root TERM=${TERM} PS1='\u:\w\$ ' \ 37 37 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 38 38 /tools/bin/bash --login</userinput></screen> -
BOOK/final-system/common/sysklogd.xml
r5921622 r040521bc 66 66 mail.* -/var/log/mail.log 67 67 user.* -/var/log/user.log 68 *.=info;*.=notice;*.=warn; 69 auth,authpriv.none; 70 cron,daemon.none; 68 *.=info;*.=notice;*.=warn;\ 69 auth,authpriv.none;\ 70 cron,daemon.none;\ 71 71 mail,news.none -/var/log/messages.log 72 72 -
BOOK/final-system/common/udev.xml
r5921622 r040521bc 30 30 <screen os="b"><userinput>make EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ 31 31 extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ 32 extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev</userinput></screen>32 extras/edd_id extras/dasd_id extras/path_id"</userinput></screen> 33 33 34 34 <variablelist os="c"> … … 61 61 EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ 62 62 extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ 63 extras/edd_id extras/dasd_id extras/path_id" udevdir=/devinstall</userinput></screen>63 extras/edd_id extras/dasd_id extras/path_id" install</userinput></screen> 64 64 65 65 <variablelist os="i"> -
BOOK/final-system/mips/dvhtool.xml
r5921622 r040521bc 31 31 </note> 32 32 33 <para os="b">This patch updates for the Arcload bootloader:</para> 33 <para os="b">This patch fixes build issues with Dvhtool and adds support 34 for LVM and Linux partitions:</para> 34 35 35 36 <screen os="c"><userinput>patch -Np1 -i ../&dvhtool-fixes-patch;</userinput></screen> … … 56 57 57 58 <seglistitem> 58 <seg> To be Determined</seg>59 <seg>dvhtool</seg> 59 60 </seglistitem> 60 61 </segmentedlist> 61 62 62 <!--63 63 <variablelist> 64 64 <bridgehead renderas="sect3">Short Descriptions</bridgehead> … … 66 66 <?dbhtml list-presentation="table"?> 67 67 68 <varlistentry id=" colo-chain.elf">69 <term><command> colo</command></term>68 <varlistentry id="dvhtool"> 69 <term><command>dvhtool</command></term> 70 70 <listitem> 71 <para>Is the Cobalt Bootloader's chain mode executeable. This 72 file gets gzipped and renamed to <filename>vmlinux.gz</filename>, 73 so it can be booted automatically by the Cobalt's existing 74 firmware</para> 75 <indexterm zone="ch-system-colo colo-chain.elf"> 76 <primary sortas="b-colo-chain.elf">colo-chain.elf</primary> 71 <para>A utility for displaying SGI disk partition and volume header 72 information as well as for copying files to and from the volume 73 header</para> 74 <indexterm zone="ch-system-dvhtool dvhtool"> 75 <primary sortas="b-dvhtool">dvhtool</primary> 77 76 </indexterm> 78 77 </listitem> … … 80 79 81 80 </variablelist> 82 -->83 81 84 82 </sect2> -
BOOK/final-system/multilib/texinfo.xml
r5921622 r040521bc 1 2 1 <?xml version="1.0" encoding="ISO-8859-1"?> 3 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" -
BOOK/final-system/multilib/udev.xml
r5921622 r040521bc 22 22 <title>Installation of Udev</title> 23 23 24 <para os="p1">This patch updatesmoves /lib/udev to /lib64/udev, to keep24 <para os="p1">This patch moves /lib/udev to /lib64/udev, to keep 25 25 system consistency:</para> 26 26 … … 33 33 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ 34 34 EXTRAS="extras/cdrom_id extras/floppy extras/firmware extras/scsi_id extras/volume_id \ 35 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev</userinput></screen>35 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id"</userinput></screen> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/sparc/elftoaout.xml
r5921622 r040521bc 47 47 48 48 <seglistitem> 49 <seg> Unchecked</seg>49 <seg>elf2aout</seg> 50 50 </seglistitem> 51 51 </segmentedlist> … … 59 59 <term><command>elftoaout</command></term> 60 60 <listitem> 61 <para>Need Description</para> 61 <para>Converts an ELF-formatted file to Sparc a.out format for use 62 with openprom</para> 62 63 <indexterm zone="ch-system-elftoaout elftoaout"> 63 64 <primary sortas="a-elftoaout">elftoaout</primary> -
BOOK/final-system/sparc/silo.xml
r5921622 r040521bc 69 69 <term><command>silocheck</command></term> 70 70 <listitem> 71 <para>Checks to see w ether a file is readable72 by silo . (very handy if you have larger disks.).</para>71 <para>Checks to see whether a file is readable 72 by silo (very handy if you have larger disks).</para> 73 73 <indexterm zone="ch-system-silo silocheck"> 74 74 <primary sortas="a-silocheck">silocheck</primary> … … 81 81 <listitem> 82 82 <para>Is a file that is called by the tilo command to build 83 a TFTP boot image. .</para>83 a TFTP boot image.</para> 84 84 <indexterm zone="ch-system-silo maketilo"> 85 85 <primary sortas="a-maketilo">maketilo</primary> -
BOOK/final-system/x86/glibc.xml
r5921622 r040521bc 238 238 <filename>/etc/localtime</filename> file by running:</para> 239 239 240 <screen><userinput>cp - fv/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \240 <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \ 241 241 /etc/localtime</userinput></screen> 242 242 -
BOOK/final-system/x86/grub.xml
r5921622 r040521bc 54 54 <screen os="g"><userinput>make install 55 55 mkdir -pv /boot/grub 56 cp -v /usr/lib/grub/ i386-pc/stage{1,2} /boot/grub</userinput></screen>56 cp -v /usr/lib/grub/*/stage{1,2} /boot/grub</userinput></screen> 57 57 58 <para os="h">Replace <filename class="directory">i386-pc</filename> with whatever 59 directory is appropriate for the hardware in use.</para> 60 61 <para os="i">The <filename class="directory">i386-pc</filename> directory 62 contains a number of <filename>*stage1_5</filename> files, different 63 ones for different file systems. Review the files available and copy 64 the appropriate ones to the <filename 58 <para os="h">The directory in 59 <filename class="directory">/usr/lib/grub</filename> (its name depends 60 on your arch) contains a number of <filename>*stage1_5</filename> files, 61 different ones for different file systems. Review the files available and 62 copy the appropriate ones to the <filename 65 63 class="directory">/boot/grub</filename> directory. Most users will 66 64 copy the <filename>e2fs_stage1_5</filename> and/or -
BOOK/final-system/x86/linux-headers.xml
r5921622 r040521bc 53 53 54 54 <seglistitem> 55 <seg>/usr/include/{asm, linux}/*.h</seg>55 <seg>/usr/include/{asm,asm-generic,linux,mtd,scsi,sound}/*.h</seg> 56 56 </seglistitem> 57 57 </segmentedlist> … … 64 64 <varlistentry id="linux-headers"> 65 65 <term><filename 66 class="headerfile">/usr/include/{asm, linux}/*.h</filename></term>66 class="headerfile">/usr/include/{asm,asm-generic,linux,mtd,scsi,sound}/*.h</filename></term> 67 67 <listitem> 68 68 <para>The Linux API headers</para> -
BOOK/final-system/x86_64/grub.xml
r5921622 r040521bc 57 57 xpointer="xpointer(//*[@os='f'])"/> 58 58 59 <screen os="h"><userinput>make install 60 mkdir -v /boot/grub 61 cp -v /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen>59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../x86/grub.xml" 61 xpointer="xpointer(//*[@os='g'])"/> 62 62 63 <para os="i">Replace <filename class="directory">x86_64-pc</filename> with whatever 64 directory is appropriate for the hardware in use.</para> 65 66 <para os="j">The <filename class="directory">x86_64-pc</filename> directory 67 contains a number of <filename>*stage1_5</filename> files, different 68 ones for different file systems. Review the files available and copy 69 the appropriate ones to the <filename 70 class="directory">/boot/grub</filename> directory. Most users will 71 copy the <filename>e2fs_stage1_5</filename> and/or 72 <filename>reiserfs_stage1_5</filename> files.</para> 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="../x86/grub.xml" 65 xpointer="xpointer(//*[@os='h'])"/> 73 66 74 67 </sect2> -
BOOK/general.ent
r5921622 r040521bc 3 3 <!ENTITY month "09"> <!-- Use two digits --> 4 4 <!ENTITY month_name "September"> 5 <!ENTITY day " 18"> <!-- Use two digits -->5 <!ENTITY day "22"> <!-- Use two digits --> 6 6 <!ENTITY year "2006"> <!-- Use four digits --> 7 7 -
BOOK/introduction/common/how.xml
r5921622 r040521bc 12 12 13 13 <para>The CLFS system will be built by using a previously installed 14 Linux distribution (such as Debian, Fedora, Mandriva, SUSE, or Ubuntu).15 This existing Linux system (the host) will be used as a starting point to16 p rovide necessary programs, including a compiler, linker, and shell,14 Unix system or Linux distribution (such as Debian, Fedora, Mandriva, SUSE, 15 or Ubuntu). This existing system (the host) will be used as a starting 16 point to provide necessary programs, including a compiler, linker, and shell, 17 17 to build the new system. Select the <quote>development</quote> option 18 18 during the distribution installation to be able to access these … … 59 59 60 60 <para>After we build our <quote>Cross-Tools</quote>, we start building 61 a very minimal working system in /tools. This effort to isolate the new 62 system from the host distribution may seem excessive, but a full technical 63 explanation is provided at the beginning of 64 <xref linkend="chapter-temp-system"/>.</para> 61 a very minimal working system in /tools. This minimal system will be built 62 using the cross-toolchain in /cross-tools.</para> 65 63 66 64 <para>In <xref linkend="chapter-building-system"/>, the full CLFS system is -
BOOK/materials/common/introduction.xml
r5921622 r040521bc 30 30 that is conveniently available throughout the entire build. A working 31 31 directory is also required to unpack the sources and build them. 32 <filename class="directory">$ CLFS/sources</filename> can be used both32 <filename class="directory">${CLFS}/sources</filename> can be used both 33 33 as the place to store the tarballs and patches and as a working 34 34 directory. By using this directory, the required elements will be … … 40 40 starting the download session:</para> 41 41 42 <screen><userinput>mkdir -v $ CLFS/sources</userinput></screen>42 <screen><userinput>mkdir -v ${CLFS}/sources</userinput></screen> 43 43 44 44 <para>Make this directory writable and sticky. When a directory is … … 48 48 write and sticky modes:</para> 49 49 50 <screen><userinput>chmod -v a+wt $ CLFS/sources</userinput></screen>50 <screen><userinput>chmod -v a+wt ${CLFS}/sources</userinput></screen> 51 51 52 52 </sect1> -
BOOK/materials/common/patches.xml
r5921622 r040521bc 74 74 75 75 <varlistentry> 76 <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term>77 <listitem>78 <para>Download: <ulink79 url="&patches-root;&coreutils-uname-patch;"/></para>80 <para>MD5 sum: <literal>&coreutils-uname-patch-md5;</literal></para>81 </listitem>82 </varlistentry>83 84 <varlistentry>85 76 <term>Expect Spawn Patch - <token>&expect-spawn-patch-size;</token>:</term> 86 77 <listitem> … … 164 155 165 156 <varlistentry> 166 <term>Inetutils inet_addr FixPatch - <token>&inetutils-inet_addr_fix-patch-size;</token>:</term>157 <term>Inetutils inet_addr Patch - <token>&inetutils-inet_addr_fix-patch-size;</token>:</term> 167 158 <listitem> 168 159 <para>Download: <ulink … … 232 223 url="&patches-root;&readline-fixes-patch;"/></para> 233 224 <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para> 234 </listitem>235 </varlistentry>236 237 <varlistentry>238 <term>Shadow Useradd Fix Patch - <token>&shadow-useradd_fix-patch-size;</token>:</term>239 <listitem>240 <para>Download: <ulink241 url="&patches-root;&shadow-useradd_fix-patch;"/></para>242 <para>MD5 sum: <literal>&shadow-useradd_fix-patch-md5;</literal></para>243 225 </listitem> 244 226 </varlistentry> -
BOOK/materials/mips/packages.xml
r5921622 r040521bc 9 9 <?dbhtml filename="packages-mips.html"?> 10 10 11 <title>Additional Packages for MIPS 32 Bits</title>11 <title>Additional Packages for MIPS</title> 12 12 13 13 <variablelist role="materials"> -
BOOK/materials/mips/patches.xml
r5921622 r040521bc 9 9 <?dbhtml filename="patches-mips.html"?> 10 10 11 <title>Additional Patches for MIPS 32 Bits</title>11 <title>Additional Patches for MIPS</title> 12 12 13 13 <variablelist role="materials"> -
BOOK/partitioning/common/creatingpartition.xml
r5921622 r040521bc 15 15 system is to use an available empty partition or, if you have enough 16 16 unpartitioned space, to create one. However, if your building for a different 17 architecture you can simply build everyt ing in <quote>/mnt/clfs</quote>17 architecture you can simply build everything in <quote>/mnt/clfs</quote> 18 18 and transfer it to your target machine.</para> 19 19 -
BOOK/partitioning/common/mounting.xml
r5921622 r040521bc 26 26 running:</para> 27 27 28 <screen><userinput>mkdir -pv $ CLFS29 mount -v /dev/<replaceable>[xxx]</replaceable> $ CLFS</userinput></screen>28 <screen><userinput>mkdir -pv ${CLFS} 29 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen> 30 30 31 31 <para>Replace <replaceable>[xxx]</replaceable> with the designation of … … 36 36 class="directory">/usr</filename>), mount them using:</para> 37 37 38 <screen><userinput>mkdir -pv $ CLFS39 mount -v /dev/<replaceable>[xxx]</replaceable> $ CLFS40 mkdir -v $ CLFS/usr41 mount -v /dev/<replaceable>[yyy]</replaceable> $ CLFS/usr</userinput></screen>38 <screen><userinput>mkdir -pv ${CLFS} 39 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS} 40 mkdir -v ${CLFS}/usr 41 mount -v /dev/<replaceable>[yyy]</replaceable> ${CLFS}/usr</userinput></screen> 42 42 43 43 <para>Replace <replaceable>[xxx]</replaceable> and -
BOOK/prologue/common/typography.xml
r5921622 r040521bc 40 40 and websites.</para> 41 41 42 <screen role="nodump"><userinput>cat > $ CLFS/etc/group << "EOF"42 <screen role="nodump"><userinput>cat > ${CLFS}/etc/group << "EOF" 43 43 <literal>root:x:0: 44 44 bin:x:1: … … 48 48 <para>This format is used when creating configuration files. The first 49 49 command tells the system to create the file 50 <filename>$ CLFS/etc/group</filename> from whatever is typed on the50 <filename>${CLFS}/etc/group</filename> from whatever is typed on the 51 51 following lines until the sequence end of file (EOF) is encountered. 52 52 Therefore, this entire section is generally typed as seen.</para> -
BOOK/temp-system/alpha/gcc.xml
r5921622 r040521bc 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../../cross-tools/alpha/gcc-static.xml"75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 74 href="../../final-system/common/gcc.xml" 79 75 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/common/bash.xml
r5921622 r040521bc 34 34 </para> 35 35 36 <screen os="c4"><userinput> 36 <screen os="c4"><userinput>echo "bash_cv_sys_named_pipes=yes" >> config.cache</userinput></screen> 37 37 38 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/common/choose.xml
r5921622 r040521bc 16 16 rest there. Alternatively, you can chroot into the temporary system.</para> 17 17 18 <para os="b">The boot method is forwhen you are building on a different18 <para os="b">The boot method is needed when you are building on a different 19 19 architecture. For example, if you are building a PowerPC system from 20 20 an x86, you can't chroot. The chroot method is for when you are … … 34 34 method.</para> 35 35 36 <para>To chroot, you will also need a Linux Kernel-2.6.x (having been 37 compiled with GCC-3.0 or greater). The reason for the kernel version 38 requirement is that, without it, thread-local storage support in Binutils 39 will not be built and the Native POSIX Threading Library (NPTL) test suite 40 will segfault.</para> 41 42 <para>To check your kernel version, run <command>cat /proc/version</command> 43 - if it does not say that you are running a 2.6.2 or later Linux kernel, 44 compiled with GCC 3.0 or later, you cannot chroot.</para> 45 36 46 <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para> 37 47 -
BOOK/temp-system/common/introduction.xml
r5921622 r040521bc 19 19 <para>The tools in this chapter are cross-compiled using the toolchain in 20 20 /cross-tools and will be installed under the 21 <filename class="directory">$ CLFS/tools</filename> directory to keep21 <filename class="directory">${CLFS}/tools</filename> directory to keep 22 22 them separate from the files installed in <xref 23 23 linkend="chapter-building-system"/> and the host production directories. … … 28 28 variable is set up properly:</para> 29 29 30 <screen><userinput>echo $ CLFS</userinput></screen>30 <screen><userinput>echo ${CLFS}</userinput></screen> 31 31 32 32 <para>Make sure the output shows the path to the CLFS partition's mount -
BOOK/temp-system/mips/gcc.xml
r5921622 r040521bc 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../../cross-tools/mips/gcc-static.xml"75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 74 href="../../final-system/common/gcc.xml" 79 75 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/mips64-64/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/mips64-64/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/mips64/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/mips64/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/ppc/gcc.xml
r5921622 r040521bc 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../../cross-tools/ppc/gcc-static.xml"75 xpointer="xpointer(//*[@os='ak'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 74 href="../../final-system/common/gcc.xml" 79 75 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/ppc64/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/x86_64/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/sparc/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/sparc/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/sparc64-64/gcc.xml
r5921622 r040521bc 88 88 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../../cross-tools/sparc64-64/gcc-static.xml"91 xpointer="xpointer(//*[@os='ak'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 90 href="../../final-system/common/gcc.xml" 95 91 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/sparc64/gcc.xml
r5921622 r040521bc 88 88 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../../cross-tools/sparc64/gcc-static.xml"91 xpointer="xpointer(//*[@os='ak'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 90 href="../../final-system/common/gcc.xml" 95 91 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/x86/gcc.xml
r5921622 r040521bc 70 70 71 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 72 href="../../cross-tools/x86/gcc-static.xml"73 xpointer="xpointer(//*[@os='ak'])"/>74 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"76 72 href="../../final-system/common/gcc.xml" 77 73 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/x86_64-64/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/x86_64-64/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> -
BOOK/temp-system/x86_64/gcc.xml
r5921622 r040521bc 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../../cross-tools/x86_64/gcc-static.xml"83 xpointer="xpointer(//*[@os='ak'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 82 href="../../final-system/common/gcc.xml" 87 83 xpointer="xpointer(//*[@os='f'])"/> … … 112 108 <term><parameter>CXX="${CXX} ${BUILD64}"</parameter></term> 113 109 <listitem> 114 <para>This forces the C++ compiler to use our Build 64 FLAGS.</para>110 <para>This forces the C++ compiler to use our 64 Bit flags.</para> 115 111 </listitem> 116 112 </varlistentry> -
BOOK/testsuite-tools/mips/expect.xml
r5921622 r040521bc 42 42 xpointer="xpointer(//*[@os='b'])"/> 43 43 44 <para os="p1">This patch updates <filename>config.guess</filename> 45 and<filename>config.sub</filename> for MIPS processors:</para>44 <para os="p1">This patch updates <filename>config.guess</filename> and 45 <filename>config.sub</filename> for MIPS processors:</para> 46 46 47 47 <screen os="p2"><userinput>patch -Np1 -i ../&expect-config_update-patch;</userinput></screen> -
BOOK/the-end/reboot.xml
r5921622 r040521bc 37 37 <para>Then unmount the virtual file systems:</para> 38 38 39 <screen><userinput>umount $ CLFS/dev/pts40 umount $ CLFS/dev/shm41 umount $ CLFS/dev42 umount $ CLFS/proc43 umount $ CLFS/sys</userinput></screen>39 <screen><userinput>umount ${CLFS}/dev/pts 40 umount ${CLFS}/dev/shm 41 umount ${CLFS}/dev 42 umount ${CLFS}/proc 43 umount ${CLFS}/sys</userinput></screen> 44 44 45 45 <para>Unmount the CLFS file system itself:</para> 46 46 47 <screen><userinput>umount $ CLFS</userinput></screen>47 <screen><userinput>umount ${CLFS}</userinput></screen> 48 48 49 49 <para>If multiple partitions were created, unmount the other 50 50 partitions before unmounting the main one, like this:</para> 51 51 52 <screen><userinput>umount $ CLFS/usr53 umount $ CLFS/home54 umount $ CLFS</userinput></screen>52 <screen><userinput>umount ${CLFS}/usr 53 umount ${CLFS}/home 54 umount ${CLFS}</userinput></screen> 55 55 56 56 <para>Now, reboot the system with:</para>
Note:
See TracChangeset
for help on using the changeset viewer.