Changeset 350ab24 for BOOK/final-system
- Timestamp:
- Apr 28, 2014, 8:56:46 PM (11 years ago)
- Parents:
- 5c8e74d (diff), 31cfd067 (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/final-system
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/acl.xml
r5c8e74d r350ab24 33 33 34 34 <screen os="d"><userinput>sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen> 35 35 36 36 <para os="e">Prepare ACL for compilation:</para> 37 37 -
BOOK/final-system/common/autoconf.xml
r5c8e74d r350ab24 37 37 38 38 <screen os="e2"><userinput remap="test">make check VERBOSE=yes</userinput></screen> 39 39 40 40 <para os="e3">17 tests are skipped that use Automake and different GCC languages. 41 41 For full test coverage, Autoconf can be re-tested after Automake has been -
BOOK/final-system/common/coreutils.xml
r5c8e74d r350ab24 39 39 --enable-no-install-program=kill,uptime \ 40 40 --enable-install-program=hostname --libexecdir=/usr/lib</userinput></screen> 41 41 42 42 <variablelist os="d1"> 43 43 <title>The meaning of the configure options:</title> 44 44 45 45 <varlistentry os="d2"> 46 46 <term><parameter>FORCE_UNSAFE_CONFIGURE=1</parameter></term> -
BOOK/final-system/common/e2fsprogs.xml
r5c8e74d r350ab24 196 196 <para>Is used to check, and optionally repair <systemitem 197 197 class="filesystem">ext2</systemitem>, <systemitem 198 class="filesystem">ext3</systemitem> and <systemitem 198 class="filesystem">ext3</systemitem> and <systemitem 199 199 class="filesystem">ext4</systemitem>file systems</para> 200 200 <indexterm zone="ch-system-e2fsprogs e2fsck"> … … 349 349 <listitem> 350 350 <para>Creates an <systemitem class="filesystem">ext2</systemitem>, 351 <systemitem class="filesystem">ext3</systemitem> or <systemitem 351 <systemitem class="filesystem">ext3</systemitem> or <systemitem 352 352 class="filesystem">ext4</systemitem> file system on the given device</para> 353 353 <indexterm zone="ch-system-e2fsprogs mke2fs"> -
BOOK/final-system/common/findutils.xml
r5c8e74d r350ab24 58 58 59 59 <screen os="h"><userinput>make install</userinput></screen> 60 61 <para os="i">The <command>find</command> program is used by some of the scripts62 in the CLFS-Bootscripts package. As <filename63 class="directory">/usr</filename> may not be available during the early64 stages of booting, the <command>find</command> binary needs to be on65 the root partition:</para>66 67 <screen os="j"><userinput>mv -v /usr/bin/find /bin</userinput></screen>68 69 <para os="k">The <command>updatedb</command> script needs to be modified70 to point to the new location for <command>find</command>:</para>71 72 <screen os="l"><userinput>sed -i 's@find:=${BINDIR}@find:=/bin@' /usr/bin/updatedb</userinput></screen>73 60 74 61 </sect2> -
BOOK/final-system/common/gcc.xml
r5c8e74d r350ab24 26 26 <title>Installation of GCC</title> 27 27 28 <para os="p1">The following patch contains a number of updates to the 28 <para os="p1">The following patch contains a number of updates to the 29 29 &gcc-version; branch by the GCC developers:</para> 30 30 -
BOOK/final-system/common/groff.xml
r5c8e74d r350ab24 46 46 47 47 <para os="i">Some documentation programs, such as <command>xman</command>, 48 will not work properly without the following symlinks:</para> 49 50 <screen os="j"><userinput>ln -sv soelim /usr/bin/zsoelim 51 ln -sv eqn /usr/bin/geqn 52 ln -sv tbl /usr/bin/gtbl</userinput></screen> 48 will not work properly without the following symlink:</para> 49 50 <screen os="j"><userinput>ln -sv soelim /usr/bin/zsoelim</userinput></screen> 53 51 54 52 </sect2> … … 62 60 63 61 <seglistitem> 64 <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, 65 geqn (link to eqn), grap2graph, grn, grodvi, groff, groffer, grog, 66 grolbp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit, indxbib, 67 lkbib, lookbib, mmroff, neqn, nroff, pdfroff, pfbtops, pic, pic2graph, 68 post-grohtml, pre-grohtml, preconv, refer, roff2dvi, roff2html, 69 roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit, troff, 70 and zsoelim (link to soelim)</seg> 62 <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, grap2graph, 63 grn, grodvi, groff, groffer, grog, grolbp, grolj4, grops, grotty, 64 hpftodit, indxbib, lkbib, lookbib, mmroff, neqn, nroff, pdfroff, 65 pfbtops, pic, pic2graph, post-grohtml, pre-grohtml, preconv, refer, 66 roff2dvi, roff2html, roff2pdf, roff2ps, roff2text, roff2x, soelim, 67 tbl, tfmtodit, troff, and zsoelim (link to soelim)</seg> 71 68 <seg>/usr/lib/groff, /usr/share/doc/groff-&groff-version;, /usr/share/groff</seg> 72 69 </seglistitem> … … 138 135 <indexterm zone="ch-system-groff gdiffmk"> 139 136 <primary sortas="b-gdiffmk">gdiffmk</primary> 140 </indexterm>141 </listitem>142 </varlistentry>143 144 <varlistentry id="geqn">145 <term><command>geqn</command></term>146 <listitem>147 <para>A link to <command>eqn</command></para>148 <indexterm zone="ch-system-groff geqn">149 <primary sortas="b-geqn">geqn</primary>150 137 </indexterm> 151 138 </listitem> … … 264 251 </varlistentry> 265 252 266 <varlistentry id="gtbl">267 <term><command>gtbl</command></term>268 <listitem>269 <para>A link to <command>tbl</command></para>270 <indexterm zone="ch-system-groff gtbl">271 <primary sortas="b-gtbl">gtbl</primary>272 </indexterm>273 </listitem>274 </varlistentry>275 276 253 <varlistentry id="hpftodit"> 277 254 <term><command>hpftodit</command></term> -
BOOK/final-system/common/iproute2.xml
r5c8e74d r350ab24 39 39 40 40 <para os="f1">Remove unused libnl headers:</para> 41 41 42 42 <screen os="f2"><userinput>sed -i '/netlink\//d' ip/ipl2tp.c</userinput></screen> 43 43 … … 55 55 that the IPRoute2 binaries will be installed into 56 56 <filename class="directory">/sbin</filename>. This is the correct 57 location according to the FHS, because some of the IPRoute2 binaries58 are used by the CLFS-Bootscripts package.</para>57 location according to the FHS, as some of these programs may be 58 needed before <filename class="directory">/usr</filename> is available.</para> 59 59 </listitem> 60 60 </varlistentry> -
BOOK/final-system/common/kmod.xml
r5c8e74d r350ab24 19 19 20 20 <para>The Kmod package contains programs for loading, inserting 21 and removing kernel modules for Linux. Kmod replaces the 21 and removing kernel modules for Linux. Kmod replaces the 22 22 Module-Init-tools package.</para> 23 23 … … 73 73 ln -sfv ../bin/kmod /sbin/${tool} 74 74 done</userinput></screen> 75 75 76 76 </sect2> 77 77 -
BOOK/final-system/common/man-pages.xml
r5c8e74d r350ab24 51 51 <listitem> 52 52 <para>This package contains man pages that describe the following: 53 POSIX headers (section 0p), 53 POSIX headers (section 0p), 54 54 POSIX utilities (section 1p), POSIX functions (section 3p), 55 user commands (section 1), system calls (section 2), 56 libc calls (section 3), device information (section 4), 57 file formats (section 5), games (section 6), 55 user commands (section 1), system calls (section 2), 56 libc calls (section 3), device information (section 4), 57 file formats (section 5), games (section 6), 58 58 conventions and macro packages (section 7), 59 59 system administration (section 8), and -
BOOK/final-system/common/ncurses.xml
r5c8e74d r350ab24 43 43 44 44 <para os="e">This package has a test suite, and can be ran after the 45 package is installed. The tests are in the 46 <filename class="directory">test/</filename> directory. See the 45 package is installed. The tests are in the 46 <filename class="directory">test/</filename> directory. See the 47 47 <filename>README</filename> file in that directory for details.</para> 48 48 -
BOOK/final-system/common/procps-ng.xml
r5c8e74d r350ab24 33 33 34 34 <variablelist os="c"> 35 <title>The meaning of the configure options:</title> 35 <title>The meaning of the configure options:</title> 36 36 <varlistentry> 37 37 <term><parameter>--disable-kill</parameter></term> -
BOOK/final-system/common/psmisc.xml
r5c8e74d r350ab24 28 28 <para os="a">Prepare Psmisc for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 31 31 32 <variablelist os="c"> 33 <title>The meaning of the configure option:</title> 32 <para os="c">Compile the package:</para> 34 33 35 <varlistentry> 36 <term><parameter>--exec-prefix=""</parameter></term> 37 <listitem> 38 <para>This ensures that the Psmisc binaries will install into 39 <filename class="directory">/bin</filename> instead of 40 <filename class="directory">/usr/bin</filename>. This is the 41 correct location according to the FHS, because some of the Psmisc 42 binaries are used by the CLFS-Bootscripts package.</para> 43 </listitem> 44 </varlistentry> 45 </variablelist> 34 <screen os="d"><userinput>make</userinput></screen> 46 35 47 <para os=" d">Compile the package:</para>36 <para os="e">This package does not come with a test suite.</para> 48 37 49 <screen os="e"><userinput>make</userinput></screen>38 <para os="f">Install the package:</para> 50 39 51 <para os="f">This package does not come with a test suite.</para> 52 53 <para os="g">Install the package:</para> 54 55 <screen os="h"><userinput>make install</userinput></screen> 56 57 <para os="i">There is no reason for the <command>pstree</command> and 58 <command>pstree.x11</command> programs to reside in <filename 59 class="directory">/bin</filename>. Therefore, move them to <filename 60 class="directory">/usr/bin</filename>:</para> 61 62 <screen os="j"><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen> 40 <screen os="g"><userinput>make install</userinput></screen> 63 41 64 42 </sect2> -
BOOK/final-system/common/readline.xml
r5c8e74d r350ab24 33 33 <para os="a">Prepare Readline for compilation:</para> 34 34 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 36 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 36 37 37 38 <para os="c">Compile the package:</para> -
BOOK/final-system/common/shadow.xml
r5c8e74d r350ab24 56 56 <filename class="directory">/usr/etc</filename>.</para></listitem> 57 57 </varlistentry> 58 58 59 59 </variablelist> 60 60 -
BOOK/final-system/common/systemd.xml
r5c8e74d r350ab24 64 64 65 65 <varlistentry> 66 <term><parameter>--disable-gudev --without-python</parameter></term> 67 <listitem> 68 <para>These switches disable optional features because 69 LFS does not provide their dependencies.</para> 66 <term><parameter>--disable-gudev</parameter></term> 67 <listitem> 68 <para>This switch prevents Systemd from building 69 <filename class="libraryfile">libgudev</filename> as it requires 70 Glib, which is not installed in CLFS.</para> 70 71 </listitem> 71 72 </varlistentry> -
BOOK/final-system/common/temp-perl.xml
r5c8e74d r350ab24 63 63 <screen os="j"><userinput>make install</userinput></screen> 64 64 65 <para os="k">Finally, create a necessary symlink:</para> 66 67 <screen os="l"><userinput>ln -sfv /tools/bin/perl /usr/bin</userinput></screen> 68 65 69 </sect2> 66 70 -
BOOK/final-system/multilib/acl-64bit.xml
r5c8e74d r350ab24 41 41 href="../common/acl.xml" 42 42 xpointer="xpointer(//*[@os='e'])"/> 43 43 44 44 <screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure \ 45 45 --prefix=/usr --libdir=/lib64 \ -
BOOK/final-system/multilib/acl-n32.xml
r5c8e74d r350ab24 54 54 href="../common/acl.xml" 55 55 xpointer="xpointer(//*[@os='h'])"/> 56 56 57 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 58 href="../common/acl.xml" -
BOOK/final-system/multilib/coreutils.xml
r5c8e74d r350ab24 38 38 --enable-no-install-program=kill,uptime \ 39 39 --enable-install-program=hostname</userinput></screen> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 42 href="../common/coreutils.xml" -
BOOK/final-system/multilib/findutils.xml
r5c8e74d r350ab24 66 66 href="../common/findutils.xml" 67 67 xpointer="xpointer(//*[@os='h'])"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"70 href="../common/findutils.xml"71 xpointer="xpointer(//*[@os='i'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"74 href="../common/findutils.xml"75 xpointer="xpointer(//*[@os='j'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"78 href="../common/findutils.xml"79 xpointer="xpointer(//*[@os='k'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"82 href="../common/findutils.xml"83 xpointer="xpointer(//*[@os='l'])"/>84 68 85 69 </sect2> -
BOOK/final-system/multilib/iproute2.xml
r5c8e74d r350ab24 29 29 href="../common/iproute2.xml" 30 30 xpointer="xpointer(//*[@os='s2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 33 33 href="../common/iproute2.xml" 34 34 xpointer="xpointer(//*[@os='f1'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 37 37 href="../common/iproute2.xml" -
BOOK/final-system/multilib/kmod-64bit.xml
r5c8e74d r350ab24 59 59 href="../common/kmod.xml" 60 60 xpointer="xpointer(//*[@os='h'])"/> 61 61 62 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 63 63 href="../common/kmod.xml" 64 64 xpointer="xpointer(//*[@os='i'])"/> 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 67 67 href="../common/kmod.xml" -
BOOK/final-system/multilib/kmod-n32.xml
r5c8e74d r350ab24 60 60 href="../common/kmod.xml" 61 61 xpointer="xpointer(//*[@os='h'])"/> 62 62 63 63 </sect2> 64 64 -
BOOK/final-system/multilib/kmod.xml
r5c8e74d r350ab24 62 62 63 63 </sect2> 64 64 65 65 <sect2 role="content"> 66 66 <title/> -
BOOK/final-system/multilib/perl-64bit.xml
r5c8e74d r350ab24 31 31 cpan/Compress-Raw-Zlib/config.in</userinput></screen> 32 32 33 <para os="mp1">Perl does not, by default, know about library directories with names other 34 than lib, The following patch will allow it to install to other directories:</para> 33 <para os="mp1">Perl does not, by default, know about library directories 34 with names other than <filename class="directory">lib</filename>. The 35 following patch will allow it to install to other directories:</para> 35 36 36 37 <screen os="mp2"><userinput>patch -Np1 -i ../&perl-multilib-patch;</userinput></screen> 37 38 38 <para os="s1">There is a further (possibly cosmetic) anomaly - if we install perl and 39 then run <command>perl -V</command> it will claim that libc is in /lib. The 40 following sed fixes this, but only takes effect when <command>make install 41 </command> is run:</para> 39 <para os="s1">There is a further (possibly cosmetic) anomaly - if we 40 install Perl and then run <command>perl -V</command> it will claim that 41 libc is in <filename class="directory">/lib</filename>. The 42 following sed fixes this, but only takes effect when 43 <command>make install</command> is run:</para> 42 44 43 45 <screen os="s2"><userinput>sed -i "/libc/s@/lib@/lib64@" hints/linux.sh</userinput></screen> 44 46 45 <para os="m2">We still need to tell perl to actually use lib64:</para>47 <para os="m2">We still need to tell Perl to actually use <filename class="directory">lib64</filename>:</para> 46 48 47 49 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen> -
BOOK/final-system/multilib/psmisc.xml
r5c8e74d r350ab24 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 --exec-prefix=""</userinput></screen> 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 30 29 31 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 49 48 xpointer="xpointer(//*[@os='g'])"/> 50 49 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"52 href="../common/psmisc.xml"53 xpointer="xpointer(//*[@os='h'])"/>54 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"56 href="../common/psmisc.xml"57 xpointer="xpointer(//*[@os='i'])"/>58 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"60 href="../common/psmisc.xml"61 xpointer="xpointer(//*[@os='j'])"/>62 63 50 </sect2> 64 51 -
BOOK/final-system/multilib/readline-64bit.xml
r5c8e74d r350ab24 35 35 36 36 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 37 ./configure --prefix=/usr --libdir=/lib64</userinput></screen> 37 ./configure --prefix=/usr --libdir=/lib64 \ 38 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 38 39 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/multilib/readline-n32.xml
r5c8e74d r350ab24 36 36 37 37 <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 38 ./configure --prefix=/usr --libdir=/lib32</userinput></screen> 38 ./configure --prefix=/usr --libdir=/lib32 \ 39 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 39 40 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/multilib/readline.xml
r5c8e74d r350ab24 36 36 37 37 <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 38 ./configure --prefix=/usr --libdir=/lib</userinput></screen> 38 ./configure --prefix=/usr --libdir=/lib \ 39 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 39 40 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/multilib/temp-perl.xml
r5c8e74d r350ab24 69 69 xpointer="xpointer(//*[@os='j'])"/> 70 70 71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 72 href="../common/temp-perl.xml" 73 xpointer="xpointer(//*[@os='k'])"/> 74 75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 76 href="../common/temp-perl.xml" 77 xpointer="xpointer(//*[@os='l'])"/> 78 71 79 </sect2> 72 80 -
BOOK/final-system/ppc64-64/yaboot.xml
r5c8e74d r350ab24 24 24 <para>Yaboot defaults to build as 32bit, so we need to pass appropriate 25 25 options to both the compiler and the linker. To prevent the build from 26 failing due to compiler warnings, the -Werror flag is removed. The 27 Makefile already overrides any CC and ignores LDFLAGS in favour of 28 its own variables, so we need to use the following seds for a 26 failing due to compiler warnings, the -Werror flag is removed. The 27 Makefile already overrides any CC and ignores LDFLAGS in favour of 28 its own variables, so we need to use the following seds for a 29 29 successful compile and install.</para> 30 30 -
BOOK/final-system/ppc64/yaboot.xml
r5c8e74d r350ab24 25 25 output. Because our gcc defaults to 64-bit, we need to pass appropriate 26 26 options to both the compiler and the linker. To prevent the build from 27 failing due to compiler warnings, the -Werror flag is removed. The 28 Makefile already overrides any CC and ignores LDFLAGS in favour of 29 its own variables, so we need to use the following seds for a 27 failing due to compiler warnings, the -Werror flag is removed. The 28 Makefile already overrides any CC and ignores LDFLAGS in favour of 29 its own variables, so we need to use the following seds for a 30 30 successful compile and install.</para> 31 31 -
BOOK/final-system/x86/glibc.xml
r5c8e74d r350ab24 67 67 68 68 <screen os="h"><userinput> 69 CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) -O2" \70 69 ../glibc-&glibc-version;/configure --prefix=/usr \ 71 70 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/glibc \ -
BOOK/final-system/x86/grub.xml
r5c8e74d r350ab24 27 27 <para>If you would like use a different bootloader than this 28 28 one you can go to the following link for alternative bootloaders 29 and the instructions to use them. 29 and the instructions to use them. 30 30 <ulink url="http://trac.cross-lfs.org/wiki/bootloaders"/></para> 31 31 </note> -
BOOK/final-system/x86_64-64/glibc.xml
r5c8e74d r350ab24 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen os="h"><userinput>CFLAGS="-O2" \ 74 ../glibc-&glibc-version;/configure --prefix=/usr \ 73 <screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ 75 74 --disable-profile --enable-kernel=2.6.32 \ 76 75 --libexecdir=/usr/lib/glibc --libdir=/usr/lib \ -
BOOK/final-system/x86_64/glibc-64bit.xml
r5c8e74d r350ab24 71 71 72 72 <screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 73 CFLAGS="-O2" \74 73 ../glibc-&glibc-version;/configure --prefix=/usr \ 75 74 --disable-profile --enable-kernel=2.6.32 \ -
BOOK/final-system/x86_64/glibc.xml
r5c8e74d r350ab24 68 68 69 69 <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 70 CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET32}) -O2" \71 70 ../glibc-&glibc-version;/configure --prefix=/usr \ 72 71 --disable-profile --enable-kernel=2.6.32 \
Note:
See TracChangeset
for help on using the changeset viewer.