Changeset e2c4848
- Timestamp:
- 02/18/2014 09:28:59 PM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 044384d
- Parents:
- 720f253
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r720f253 re2c4848 37 37 --> 38 38 <listitem> 39 <para>2014-02-18</para> 40 <itemizedlist> 41 <listitem> 42 <para>[bdubbs] - Change kmod instructions to allow 43 installation of man pages. Fixes 44 <ulink url="&lfs-ticket-root;3502">#3502</ulink>.</para> 45 </listitem> 46 </itemizedlist> 47 </listitem> 48 49 <listitem> 39 50 <para>2014-02-17</para> 40 51 <itemizedlist> -
chapter05/binutils-pass1.xml
r720f253 re2c4848 73 73 <para>Now prepare Binutils for compilation:</para> 74 74 75 <screen><userinput remap="configure">../binutils-&binutils-version;/configure \75 <screen><userinput remap="configure">../binutils-&binutils-version;/configure \ 76 76 --prefix=/tools \ 77 77 --with-sysroot=$LFS \ -
chapter05/binutils-pass2.xml
r720f253 re2c4848 54 54 AR=$LFS_TGT-ar \ 55 55 RANLIB=$LFS_TGT-ranlib \ 56 ../binutils-&binutils-version;/configure \56 ../binutils-&binutils-version;/configure \ 57 57 --prefix=/tools \ 58 58 --disable-nls \ -
chapter05/expect.xml
r720f253 re2c4848 52 52 <para>Now prepare Expect for compilation:</para> 53 53 54 <screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \ 55 --with-tclinclude=/tools/include</userinput></screen> 54 <screen><userinput remap="configure">./configure --prefix=/tools \ 55 --with-tcl=/tools/lib \ 56 --with-tclinclude=/tools/include</userinput></screen> 56 57 57 58 <variablelist> -
chapter05/gcc-pass2.xml
r720f253 re2c4848 78 78 cp -uv $file{,.orig} 79 79 sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \ 80 -e 's@/usr@/tools@g' $file.orig > $file80 -e 's@/usr@/tools@g' $file.orig > $file 81 81 echo ' 82 82 #undef STANDARD_STARTFILE_PREFIX_1 -
chapter05/libstdc++.xml
r720f253 re2c4848 57 57 58 58 <screen><userinput remap="configure">../gcc-&gcc-version;/libstdc++-v3/configure \ 59 --host=$LFS_TGT 60 --prefix=/tools 61 --disable-multilib 62 --disable-shared 63 --disable-nls 64 --disable-libstdcxx-threads 65 --disable-libstdcxx-pch 59 --host=$LFS_TGT \ 60 --prefix=/tools \ 61 --disable-multilib \ 62 --disable-shared \ 63 --disable-nls \ 64 --disable-libstdcxx-threads \ 65 --disable-libstdcxx-pch \ 66 66 --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</userinput></screen> 67 67 -
chapter05/stripping.xml
r720f253 re2c4848 17 17 18 18 <screen><userinput>strip --strip-debug /tools/lib/* 19 strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>19 /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 20 20 21 21 <para>These commands will skip a number of files, reporting that it does not 22 recognize their file format. Most of these are scripts instead of binaries.</para> 22 recognize their file format. Most of these are scripts instead of binaries. 23 Also use the system strip command to include the strip binary in /tools.</para> 23 24 24 25 <para>Take care <emphasis>not</emphasis> to use -
chapter05/xz.xml
r720f253 re2c4848 7 7 8 8 <sect1 id="ch-tools-xz" role="wrap"> 9 <?dbhtml filename="xz -utils.html"?>9 <?dbhtml filename="xz.html"?> 10 10 11 11 <sect1info condition="script"> 12 <productname>xz -utils</productname>12 <productname>xz</productname> 13 13 <productnumber>&xz-version;</productnumber> 14 14 <address>&xz-url;</address> -
chapter06/creatingdirs.xml
r720f253 re2c4848 23 23 mkdir -v /usr/libexec 24 24 mkdir -pv /usr/{,local/}share/man/man{1..8} 25 25 26 case $(uname -m) in 26 x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 && ln -sv lib /usr/local/lib64 ;; 27 x86_64) ln -sv lib /lib64 && 28 ln -sv lib /usr/lib64 && 29 ln -sv lib /usr/local/lib64 ;; 27 30 esac 31 28 32 mkdir -v /var/{log,mail,spool} 29 33 ln -sv /run /var/run -
chapter06/db.xml
r720f253 re2c4848 274 274 275 275 <varlistentry id="libdb"> 276 <term><filename class="libraryfile">libdb.{ so,a}</filename></term>276 <term><filename class="libraryfile">libdb.{a,so}</filename></term> 277 277 <listitem> 278 278 <para>Contains functions to manipulate database files from C … … 285 285 286 286 <varlistentry id="libdb_cxx"> 287 <term><filename class="libraryfile">libdb_cxx.{ so,a}</filename></term>287 <term><filename class="libraryfile">libdb_cxx.{a,so}</filename></term> 288 288 <listitem> 289 289 <para>Contains functions to manipulate database files from C++ -
chapter06/gcc.xml
r720f253 re2c4848 71 71 <para>Prepare GCC for compilation:</para> 72 72 73 <screen><userinput remap="configure">SED=sed \ 74 ../gcc-&gcc-version;/configure --prefix=/usr \ 75 --enable-shared \ 76 --enable-threads=posix \ 77 --enable-__cxa_atexit \ 78 --enable-clocale=gnu \ 79 --enable-languages=c,c++ \ 80 --disable-multilib \ 81 --disable-bootstrap \ 82 --with-system-zlib</userinput></screen> 73 <screen><userinput remap="configure">SED=sed \ 74 ../gcc-&gcc-version;/configure \ 75 --prefix=/usr \ 76 --enable-shared \ 77 --enable-threads=posix \ 78 --enable-__cxa_atexit \ 79 --enable-clocale=gnu \ 80 --enable-languages=c,c++ \ 81 --disable-multilib \ 82 --disable-bootstrap \ 83 --with-system-zlib</userinput></screen> 83 84 84 85 <para>Note that for other languages, there are some prerequisites that -
chapter06/glibc.xml
r720f253 re2c4848 59 59 <screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen> 60 60 61 <para>Some of the Glibc programs use non-FHS compilant 62 <filename class="directory">/var/db</filename> directory to store 63 their runtime data. Apply the following patch to make such programs 64 store their runtime data in the FHS-compliant locations:</para> 65 66 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 67 61 68 <para>The Glibc build system is self-contained and will install 62 69 perfectly, even though the compiler specs file and linker are still … … 66 73 of achieving a clean build.</para> 67 74 68 <para>Some of the Glibc programs use non-FHS compilant69 <filename class="directory">/var/db</filename> directory to store70 their runtime data. Apply the following patch to make such programs71 store their runtime data in the FHS-compliant locations:</para>72 73 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>74 75 75 <para>The Glibc documentation recommends building Glibc outside of the source 76 76 directory in a dedicated build directory:</para> … … 81 81 <para>Prepare Glibc for compilation:</para> 82 82 83 <screen><userinput remap="configure">../glibc-&glibc-version;/configure 83 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 84 84 --prefix=/usr \ 85 85 --disable-profile \ … … 353 353 running:</para> 354 354 355 <screen><userinput>ln -s v /usr/share/zoneinfo/<replaceable><xxx></replaceable> /etc/localtime</userinput></screen>355 <screen><userinput>ln -sfv /usr/share/zoneinfo/<replaceable><xxx></replaceable> /etc/localtime</userinput></screen> 356 356 357 357 <para>Replace <replaceable><xxx></replaceable> with the name of the … … 432 432 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs, 433 433 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc, 434 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/ getconf,435 /usr/lib /locale, /usr/share/i18n, /usr/share/zoneinfo, /var/cache/nscd,436 and /var/lib/nss_db</seg>434 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale, 435 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo, 436 /var/cache/nscd, and /var/lib/nss_db</seg> 437 437 </seglistitem> 438 438 </segmentedlist> -
chapter06/kmod.xml
r720f253 re2c4848 47 47 --bindir=/bin \ 48 48 --sysconfdir=/etc \ 49 --with-rootlibdir=/lib \ 49 50 --disable-manpages \ 50 --with-rootlibdir=/lib \51 51 --with-xz \ 52 52 --with-zlib</userinput></screen> … … 89 89 <screen><userinput remap="test">make check</userinput></screen> 90 90 91 <para>Install the package, andcreate symlinks for compatibility with92 Module-Init-Tools , the package that previously handled Linux kernel modules.93 Also make sure that all libraries are in the correct directory:94 </para>91 <para>Install the package, create symlinks for compatibility with 92 Module-Init-Tools (the package that previously handled Linux kernel 93 modules), and manually install the man pages. Also make sure that all 94 libraries are in the correct directory: </para> 95 95 96 96 <screen><userinput remap="install">make install … … 100 100 done 101 101 102 ln -sv kmod /bin/lsmod</userinput></screen> 102 ln -sv kmod /bin/lsmod 103 104 cp -v man/*.5 /usr/share/man/man5 105 cp -v man/*.8 /usr/share/man/man8</userinput></screen> 103 106 104 107 </sect2> -
chapter06/pcre.xml
r720f253 re2c4848 107 107 <seglistitem> 108 108 <seg>pcregrep, pcretest, and pcre-config</seg> 109 <seg>libpcre.{ so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg>109 <seg>libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so}</seg> 110 110 <seg>/usr/share/doc/pcre-&pcre-version;</seg> 111 111 </seglistitem> -
chapter06/procps.xml
r720f253 re2c4848 71 71 72 72 <screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp 73 74 73 make check</userinput></screen> 75 74 -
chapter06/readline.xml
r720f253 re2c4848 91 91 <para>If desired, install the documentation:</para> 92 92 93 <screen><userinput remap="install">mkdir -v /usr/share/doc/readline-&readline-version; 94 install -v -m644 doc/*.{ps,pdf,html,dvi} \ 95 /usr/share/doc/readline-&readline-version;</userinput></screen> 93 <screen><userinput remap="install">mkdir -v /usr/share/doc/readline-&readline-version; 94 install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput></screen> 96 95 97 96 </sect2> -
chapter06/shadow.xml
r720f253 re2c4848 70 70 <para>If you chose to build Shadow with Cracklib support, run the following:</para> 71 71 72 <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \ 73 etc/login.defs</userinput></screen> 72 <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen> 74 73 </note> 75 74 -
chapter06/strippingagain.xml
r720f253 re2c4848 33 33 <para>Then reenter it with:</para> 34 34 35 <screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \35 <screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \ 36 36 HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ 37 PATH=/bin:/usr/bin:/sbin:/usr/sbin \37 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 38 38 /tools/bin/bash --login</userinput></screen> 39 39 … … 41 41 42 42 <screen><userinput>/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \ 43 -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen>43 -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen> 44 44 45 45 <para>A large number of files will be reported as having their file -
chapter06/util-linux.xml
r720f253 re2c4848 51 51 52 52 <screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 53 $(grep -rl '/etc/adjtime' .)53 $(grep -rl '/etc/adjtime' .) 54 54 55 55 mkdir -pv /var/lib/hwclock</userinput></screen> -
chapter06/xz.xml
r720f253 re2c4848 7 7 8 8 <sect1 id="ch-system-xz" role="wrap"> 9 <?dbhtml filename="xz -utils.html"?>9 <?dbhtml filename="xz.html"?> 10 10 11 11 <sect1info condition="script"> 12 <productname>xz -utils</productname>12 <productname>xz</productname> 13 13 <productnumber>&xz-version;</productnumber> 14 14 <address>&xz-url;</address> -
general.ent
r720f253 re2c4848 1 <!ENTITY version "2014021 7-SYSTEMD">2 <!ENTITY releasedate "February 1 7, 2014">1 <!ENTITY version "20140218-SYSTEMD"> 2 <!ENTITY releasedate "February 18, 2014"> 3 3 <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – --> 4 4 <!ENTITY milestone "7.5">
Note:
See TracChangeset
for help on using the changeset viewer.