Changeset f8756ab
- Timestamp:
- 02/15/2014 12:40:11 AM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 3e2ac00
- Parents:
- e88c73c
- Files:
-
- 2 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
re88c73c rf8756ab 37 37 --> 38 38 <listitem> 39 <para>2014-02-14</para> 40 <itemizedlist> 41 <listitem> 42 <para>[krejzi] - Merge LFS SVN-20140214 book.</para> 43 </listitem> 44 <listitem> 45 <para>[bdubbs] - Make sed for omit-frame-pointers the 46 same in Chapters 5 and 6. Fixes 47 <ulink url="&lfs-ticket-root;3497">#3497</ulink>.</para> 48 </listitem> 49 <listitem> 50 <para>[bdubbs] - Simplify zimesone configuration in glibc. 51 Thanks to Chris Staub for the patch. Fixes 52 <ulink url="&lfs-ticket-root;3496">#3496</ulink>.</para> 53 </listitem> 54 <listitem> 55 <para>[bdubbs] - Let the glibc Makefile install rpc headers. 56 Thanks to Chris Staub for the patch. Fixes 57 <ulink url="&lfs-ticket-root;3495">#3495</ulink>.</para> 58 </listitem> 59 <listitem> 60 <para>[bdubbs] - Update to linux-3.13.3. Fixes 61 <ulink url="&lfs-ticket-root;3493">#3493</ulink>.</para> 62 </listitem> 63 </itemizedlist> 64 </listitem> 65 66 <listitem> 67 <para>2014-02-13</para> 68 <itemizedlist> 69 <listitem> 70 <para>[bdubbs] - Update to file-5.17. Fixes 71 <ulink url="&lfs-ticket-root;3491">#3491</ulink>.</para> 72 </listitem> 73 <listitem> 74 <para>[bdubbs] - Update to flex-2.5.38. Fixes 75 <ulink url="&lfs-ticket-root;3492">#3492</ulink>.</para> 76 </listitem> 77 <listitem> 78 <para>[bdubbs] - Update to man-pages-3.58. Fixes 79 <ulink url="&lfs-ticket-root;3490">#3490</ulink>.</para> 80 </listitem> 81 </itemizedlist> 82 </listitem> 83 84 <listitem> 85 <para>2014-02-10</para> 86 <itemizedlist> 87 <listitem> 88 <para>[bdubbs] - Update coreutils i18n patch. 89 Thanks to Igor Izivkov for pointing it out. Fixes 90 <ulink url="&lfs-ticket-root;3488">#3488</ulink>.</para> 91 </listitem> 92 </itemizedlist> 93 </listitem> 94 95 <listitem> 96 <para>2014-02-08</para> 97 <itemizedlist> 98 <listitem> 99 <para>[bdubbs] - Update to glibc-2.19. Fixes 100 <ulink url="&lfs-ticket-root;3486">#3486</ulink>.</para> 101 </listitem> 102 </itemizedlist> 103 </listitem> 104 105 <listitem> 106 <para>2014-02-07</para> 107 <itemizedlist> 108 <listitem> 109 <para>[bdubbs] - Update to linux-3.13.2. Fixes 110 <ulink url="&lfs-ticket-root;3485">#3485</ulink>.</para> 111 </listitem> 112 </itemizedlist> 113 </listitem> 114 115 <listitem> 116 <para>2014-02-05</para> 117 <itemizedlist> 118 <listitem> 119 <para>[bdubbs] - Change expect library type in Chapter 5. 120 Thanks to kammet for the report. Fixes 121 <ulink url="&lfs-ticket-root;3484">#3484</ulink>.</para> 122 </listitem> 123 <listitem> 124 <para>[bdubbs] - Fix e2fsprogs tests to run properly 125 in the LFS chroot environment.</para> 126 </listitem> 127 <listitem> 128 <para>[bdubbs] - Remove unnecessary mkdir in groff.</para> 129 </listitem> 130 </itemizedlist> 131 </listitem> 132 133 <listitem> 39 134 <para>2014-02-04</para> 40 135 <itemizedlist> -
chapter05/expect.xml
re88c73c rf8756ab 122 122 <seglistitem> 123 123 <seg>expect</seg> 124 <seg>libexpect-&expect-lib-version;. a</seg>124 <seg>libexpect-&expect-lib-version;.so</seg> 125 125 </seglistitem> 126 126 </segmentedlist> … … 143 143 144 144 <varlistentry id="libexpect"> 145 <term><filename class="libraryfile">libexpect-&expect-lib-version;. a</filename></term>145 <term><filename class="libraryfile">libexpect-&expect-lib-version;.so</filename></term> 146 146 <listitem> 147 147 <para>Contains functions that allow Expect to be used as a Tcl -
chapter05/gcc-pass2.xml
re88c73c rf8756ab 65 65 <command>sed</command> command to force the build to use the flag:</para> 66 66 67 <screen><userinput remap="pre">c p -v gcc/Makefile.in{,.tmp}68 sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ 69 > gcc/Makefile.in</userinput></screen>67 <screen><userinput remap="pre">case `uname -m` in 68 i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; 69 esac</userinput></screen> 70 70 71 71 <para>Once again, change the location of GCC's default dynamic linker to -
chapter05/glibc.xml
re88c73c rf8756ab 52 52 su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc' 53 53 fi</userinput></screen> 54 55 <para>An upstream change needs to be reverted:</para>56 57 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>58 59 <para>Allow Glibc to be built using Make-&make-version;:</para>60 61 <screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>62 54 63 55 <para>The Glibc documentation recommends building Glibc outside of the source -
chapter05/util-linux.xml
re88c73c rf8756ab 74 74 <listitem> 75 75 <para>Setting this envronment variable prevents adding unneeded 76 features that may be available on the host.</para> 76 features that may be available on the host. Note that the location 77 shown for setting this environment variable is different from other 78 LFS sections where variables are set preceeding the command. This 79 location is shown to demonstrate an alternative way of setting an 80 environment variable when using configure.</para> 77 81 </listitem> 78 82 </varlistentry> -
chapter06/e2fsprogs.xml
re88c73c rf8756ab 45 45 <title>Installation of E2fsprogs</title> 46 46 47 <para>First fix a problem with running regression tests in the LFS chroot 48 environment:</para> 49 50 <screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config</userinput></screen> 51 47 52 <para>The E2fsprogs documentation recommends that the package be built in 48 53 a subdirectory of the source tree: </para> … … 53 58 <para>Prepare E2fsprogs for compilation:</para> 54 59 55 <screen><userinput remap="configure">export PKG_CONFIG_PATH=/tools/lib/pkgconfig 56 57 LIBS=-L/tools/lib \ 58 CFLAGS=-I/tools/include \ 59 ../configure --prefix=/usr \ 60 --with-root-prefix="" \ 61 --enable-elf-shlibs \ 62 --disable-libblkid \ 63 --disable-libuuid \ 64 --disable-uuidd \ 60 <screen><userinput remap="configure">LIBS=-L/tools/lib \ 61 CFLAGS=-I/tools/include \ 62 PKG_CONFIG_PATH=/tools/lib/pkgconfig \ 63 ../configure --prefix=/usr \ 64 --with-root-prefix="" \ 65 --enable-elf-shlibs \ 66 --disable-libblkid \ 67 --disable-libuuid \ 68 --disable-uuidd \ 65 69 --disable-fsck</userinput></screen> 66 70 … … 132 136 <screen><userinput remap="install">make install</userinput></screen> 133 137 134 <para>Install the static libraries and headers and do some clean up:</para> 135 136 <screen><userinput remap="install">make install-libs 137 unset PKG_CONFIG_PATH</userinput></screen> 138 <para>Install the static libraries and headers:</para> 139 140 <screen><userinput remap="install">make install-libs</userinput></screen> 138 141 139 142 <para>Make the installed static libraries writable so debugging symbols can -
chapter06/flex.xml
re88c73c rf8756ab 48 48 <para>Prepare Flex for compilation:</para> 49 49 50 <screen><userinput remap="configure">./configure --prefix=/usr \ 50 <screen><userinput remap="configure">./configure --prefix=/usr \ 51 --disable-static \ 51 52 --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 52 53 … … 62 63 63 64 <screen><userinput remap="install">make install</userinput></screen> 64 65 <!-- 65 66 <para>There are some packages that expect to find the 66 67 <filename class="libraryfile">lex</filename> library in <filename … … 69 70 70 71 <screen><userinput remap="install">ln -sv libfl.a /usr/lib/libl.a</userinput></screen> 71 72 --> 72 73 <para>A few programs do not know about <command>flex</command> yet and 73 74 try to run its predecessor, <command>lex</command>. To support those … … 98 99 <seglistitem> 99 100 <seg>flex, flex++ (link to flex), and lex</seg> 100 <seg>libfl. a and libfl_pic.a</seg>101 <seg>libfl.so and libfl_pic.so</seg> 101 102 <seg>/usr/share/doc/flex-&flex-version;</seg> 102 103 </seglistitem> … … 142 143 </varlistentry> 143 144 144 <varlistentry id="libfl. a">145 <varlistentry id="libfl.so"> 145 146 <term><filename class="libraryfile">libfl.a</filename></term> 146 147 <listitem> 147 148 <para>The <filename class="libraryfile">flex</filename> library</para> 148 <indexterm zone="ch-system-flex libfl. a">149 <primary sortas="c-libfl. a">libfl.a</primary>149 <indexterm zone="ch-system-flex libfl.so"> 150 <primary sortas="c-libfl.so">libfl.so</primary> 150 151 </indexterm> 151 152 </listitem> -
chapter06/glibc.xml
re88c73c rf8756ab 55 55 </note> 56 56 57 <para>First fix a minor problem when installing the tzselect script:</para> 58 59 <screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen> 60 57 61 <para>The Glibc build system is self-contained and will install 58 62 perfectly, even though the compiler specs file and linker are still … … 62 66 of achieving a clean build.</para> 63 67 64 <para>An upstream change needs to be reverted:</para>65 66 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>67 68 <para>Allow Glibc to be built with Make-&make-version;:</para>69 70 <screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>71 72 68 <para>Some of the Glibc programs use non-FHS compilant 73 <filename class="directory">/var/db</filename> directory 74 t o store their runtime data. Apply the following patch to make such programs69 <filename class="directory">/var/db</filename> directory to store 70 their runtime data. Apply the following patch to make such programs 75 71 store their runtime data in the FHS-compliant locations:</para> 76 72 … … 85 81 <para>Prepare Glibc for compilation:</para> 86 82 87 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 88 --prefix=/usr \ 89 --disable-profile \ 90 --enable-kernel=&min-kernel; \ 91 --libexecdir=/usr/lib</userinput></screen> 83 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 84 --prefix=/usr \ 85 --disable-profile \ 86 --enable-kernel=&min-kernel; \ 87 --libexecdir=/usr/lib \ 88 --enable-obsolete-rpc</userinput></screen> 92 89 93 90 <variablelist> … … 100 97 default of <filename class="directory">/usr/libexec</filename> to 101 98 <filename class="directory">/usr/lib</filename>.</para> 99 </listitem> 100 </varlistentry> 101 102 <varlistentry> 103 <term><parameter>--enable-obsolete-rpc</parameter></term> 104 <listitem> 105 <para>Installs NIS and RPC related headers that are not installed by 106 default; these are required to rebuild Glibc and by several BLFS 107 packages.</para> 102 108 </listitem> 103 109 </varlistentry> … … 174 180 <screen><userinput remap="install">make install</userinput></screen> 175 181 176 <para>Install NIS and RPC related headers that are not installed by177 default; these are required to rebuild glibc and by several BLFS178 packages:</para>179 180 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc181 cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc182 cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>183 184 182 <para>Install the configuration file and runtime directory for 185 183 <command>nscd</command>:</para> … … 187 185 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf 188 186 mkdir -pv /var/cache/nscd</userinput></screen> 187 188 <para>Install the Systemd support files for <command>nscd</command>:</para> 189 190 <screen><userinput remap="install">install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.tmpfiles /etc/tmpfiles.d/nscd.conf 191 install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen> 189 192 190 193 <para>The locales that can make the system respond in a different language … … 420 423 zdump, and zic</seg> 421 424 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so}, 422 lib bsd-compat.a, libc.{a,so}, libc_nonshared.a, libcidn.so,425 libc.{a,so}, libc_nonshared.a, libcidn.so, 423 426 libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so}, 424 427 libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so, … … 748 751 </varlistentry> 749 752 750 <varlistentry id="libbsd-compat">751 <term><filename class="libraryfile">libbsd-compat</filename></term>752 <listitem>753 <para>Provides the portability needed in order to run certain754 Berkeley Software Distribution (BSD) programs under Linux</para>755 <indexterm zone="ch-system-glibc libbsd-compat">756 <primary sortas="c-libbsd-compat">libbsd-compat</primary>757 </indexterm>758 </listitem>759 </varlistentry>760 761 753 <varlistentry id="libc"> 762 754 <term><filename class="libraryfile">libc</filename></term> -
chapter06/groff.xml
re88c73c rf8756ab 62 62 <para>Install the package:</para> 63 63 64 <screen><userinput remap="install">mkdir -pv /usr/share/doc/groff-1.22/pdf 65 make install</userinput></screen> 64 <screen><userinput remap="install">make install</userinput></screen> 66 65 67 66 <para>Some documentation programs, such as <command>xman</command>, -
general.ent
re88c73c rf8756ab 1 <!ENTITY version " SYSTEMD-20140204">2 <!ENTITY releasedate "February 04, 2014">1 <!ENTITY version "20140214-SYSTEMD"> 2 <!ENTITY releasedate "February 14, 2014"> 3 3 <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – --> 4 4 <!ENTITY milestone "7.5"> -
network-scripts/Makefile
re88c73c rf8756ab 1 1 EXTDIR=${DESTDIR}/etc 2 TMPFILESDIR=${EXTDIR}/tmpfiles.d3 2 LIBDIR=${DESTDIR}/lib 4 3 SERVICEDIR=${LIBDIR}/services … … 14 13 create-dirs: 15 14 install -d -m ${DIRMODE} ${EXTDIR}/sysconfig 16 install -d -m ${DIRMODE} ${TMPFILESDIR}17 15 install -d -m ${DIRMODE} ${SERVICEDIR} 18 16 install -d -m ${DIRMODE} ${UNITDIR} … … 22 20 23 21 files: create-dirs 24 install -m ${CONFMODE} lfs/tmpfiles/nscd.conf ${TMPFILESDIR} 25 install -m ${MODE} lfs/sbin/ifup ${SBIN} 26 install -m ${MODE} lfs/sbin/ifdown ${SBIN} 27 install -m ${MODE} lfs/sbin/ifup.8 ${MAN8} 28 ln -sf ifup.8 ${MAN8}/ifdown.8 22 install -m ${MODE} lfs/sbin/ifup ${SBIN} 23 install -m ${MODE} lfs/sbin/ifdown ${SBIN} 24 install -m ${MODE} lfs/sbin/ifup.8 ${MAN8} 25 ln -sf ifup.8 ${MAN8}/ifdown.8 29 26 install -m ${MODE} lfs/lib/services/ipv4-static-route ${SERVICEDIR} 30 27 install -m ${MODE} lfs/lib/services/ipv4-static ${SERVICEDIR} 31 28 install -m ${CONFMODE} lfs/lib/services/init-functions ${SERVICEDIR} 32 29 install -m ${CONFMODE} lfs/units/ifupdownat.service ${UNITDIR}/ifupdown@.service 33 install -m ${CONFMODE} lfs/units/nscd.service ${UNITDIR}34 30 35 31 uninstall: 36 rm -rf ${TMPFILESDIR}/nscd.conf ${SERVICEDIR} ${LIBDIR}/lsb \ 37 ${UNITDIR}/ifupdown@.service ${UNITDIR}/nscd.service ${SBIN}/ifup \ 38 ${SBIN}/ifdown ${MAN8}/ifup.8 ${MAN8}/ifdown.8 32 rm -rf ${SERVICEDIR} ${LIBDIR}/lsb ${UNITDIR}/ifupdown@.service \ 33 ${SBIN}/ifup ${SBIN}/ifdown ${MAN8}/ifup.8 ${MAN8}/ifdown.8 39 34 40 35 .PHONY: all create-dirs install files uninstall -
packages.ent
re88c73c rf8756ab 165 165 <!ENTITY expect-ch5-sbu "0.1 SBU"> 166 166 167 <!ENTITY file-version "5.1 6">168 <!ENTITY file-size "6 43KB">167 <!ENTITY file-version "5.17"> 168 <!ENTITY file-size "694 KB"> 169 169 <!ENTITY file-url "ftp://ftp.astron.com/pub/file/file-&file-version;.tar.gz"> 170 <!ENTITY file-md5 " 359c0cf41c3d438d17b4d293f3b950dc">170 <!ENTITY file-md5 "e19c47e069ced7b01ccb4db402cc01d3"> 171 171 <!ENTITY file-home "http://www.darwinsys.com/file/"> 172 172 <!ENTITY file-ch5-du "12.4 MB"> … … 185 185 <!ENTITY findutils-ch6-sbu "0.4 SBU"> 186 186 187 <!ENTITY flex-version "2.5.3 7">188 <!ENTITY flex-size "1, 280 KB">187 <!ENTITY flex-version "2.5.38"> 188 <!ENTITY flex-size "1,590 KB"> 189 189 <!ENTITY flex-url "&sourceforge;flex/flex-&flex-version;.tar.bz2"> 190 <!ENTITY flex-md5 " c75940e1fc25108f2a7b3ef42abdae06">190 <!ENTITY flex-md5 "b230c88e65996ff74994d08a2a2e0f27"> 191 191 <!ENTITY flex-home "http://flex.sourceforge.net"> 192 192 <!-- … … 239 239 <!ENTITY gettext-ch6-sbu "2.3 SBU"> 240 240 241 <!ENTITY glibc-version "2.1 8">242 <!ENTITY glibc-size "1 0,892KB">241 <!ENTITY glibc-version "2.19"> 242 <!ENTITY glibc-size "11,801 KB"> 243 243 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 244 <!ENTITY glibc-md5 " 88fbbceafee809e82efd52efa1e3c58f">244 <!ENTITY glibc-md5 "e26b8cc666b162f999404b03970f14e4"> 245 245 <!ENTITY glibc-home "&gnu-software;libc/"> 246 246 <!ENTITY glibc-ch5-du "567 MB"> … … 359 359 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 360 360 361 <!ENTITY lfs-network-scripts-version "201 31222"> <!-- Scripts depend on this format -->361 <!ENTITY lfs-network-scripts-version "20140214"> <!-- Scripts depend on this format --> 362 362 <!ENTITY lfs-network-scripts-size "LFS-NETSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 363 363 <!ENTITY lfs-network-scripts-url "&downloads-root;lfs-network-scripts-&lfs-network-scripts-version;.tar.bz2"> … … 396 396 <!ENTITY linux-major-version "3"> 397 397 <!ENTITY linux-minor-version "13"> 398 <!ENTITY linux-patch-version " 1">398 <!ENTITY linux-patch-version "3"> 399 399 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 400 400 <!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> --> 401 <!ENTITY linux-size "75,3 83 KB">401 <!ENTITY linux-size "75,393 KB"> 402 402 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 403 <!ENTITY linux-md5 " 18f528e5632f0096e642c511722630dc">403 <!ENTITY linux-md5 "ad98a0c623a124a25dab86406ddc7119"> 404 404 <!ENTITY linux-home "http://www.kernel.org/"> 405 405 <!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is … … 442 442 <!ENTITY man-db-ch6-sbu "0.5 SBU"> 443 443 444 <!ENTITY man-pages-version "3.5 7">445 <!ENTITY man-pages-size "1,1 68KB">444 <!ENTITY man-pages-version "3.58"> 445 <!ENTITY man-pages-size "1,170 KB"> 446 446 <!ENTITY man-pages-url "http://www.kernel.org/pub/linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz"> 447 <!ENTITY man-pages-md5 " 18bba89745fecdfddad3caaef7cde5f4">447 <!ENTITY man-pages-md5 "539698a70e0338551d22c24011c03186"> 448 448 <!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/"> 449 449 <!ENTITY man-pages-ch6-du "23 MB"> -
patches.ent
re88c73c rf8756ab 11 11 <!ENTITY bzip2-docs-patch-size "1.6 KB"> 12 12 13 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n- 3.patch">14 <!ENTITY coreutils-i18n-patch-md5 " 4dbc4688118182a6119a1bfe7ba4e054">15 <!ENTITY coreutils-i18n-patch-size "1 38KB">13 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-4.patch"> 14 <!ENTITY coreutils-i18n-patch-md5 "54c99871cd0ca20f29bdc9462e27f0df"> 15 <!ENTITY coreutils-i18n-patch-size "140 KB"> 16 16 17 17 <!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch"> -
process-scripts.sh
re88c73c rf8756ab 4 4 for s in network-scripts/lfs/lib/services/* \ 5 5 network-scripts/lfs/sbin/* \ 6 network-scripts/lfs/tmpfiles/* \7 6 network-scripts/lfs/units/* 8 7 do
Note:
See TracChangeset
for help on using the changeset viewer.