Changeset 91f763ae
- Timestamp:
- 10/04/2019 07:22:53 PM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 12e721d
- Parents:
- 5e009ae
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r5e009ae r91f763ae 45 45 appropriate for the entry or if needed the entire day's listitem. 46 46 --> 47 <listitem revision="systemd"> 48 <para>2019-10-03</para> 49 <itemizedlist> 50 <listitem> 51 <para>[renodr] - Add a consolidated patch to fix several 52 problems with the new version of systemd, including bugs 53 in udev, filesystem mounting (with Samba-4.11), hardware 54 database updates, timesync fixes with adjtime as is set 55 in LFS, and bugs with network management and domain 56 resolution.</para> 57 </listitem> 58 </itemizedlist> 59 </listitem> 60 61 <listitem> 62 <para>2019-09-29</para> 63 <itemizedlist> 64 <listitem> 65 <para>[bdubbs] - Update to texinfo-6.7. Fixes 66 <ulink url="&lfs-ticket-root;4529">#4529</ulink>.</para> 67 </listitem> 68 <listitem> 69 <para>[bdubbs] - Update to e2fsprogs-1.45.4. Fixes 70 <ulink url="&lfs-ticket-root;4530">#4530</ulink>.</para> 71 </listitem> 72 <listitem> 73 <para>[bdubbs] - Update to XML-Parser-2.46. Fixes 74 <ulink url="&lfs-ticket-root;4531">#4531</ulink>.</para> 75 </listitem> 76 <listitem> 77 <para>[bdubbs] - Update to expat-2.2.9. Fixes 78 <ulink url="&lfs-ticket-root;4532">#4532</ulink>.</para> 79 </listitem> 80 <listitem> 81 <para>[bdubbs] - Update to iproute2-5.3.0. Fixes 82 <ulink url="&lfs-ticket-root;4533">#4533</ulink>.</para> 83 </listitem> 84 </itemizedlist> 85 </listitem> 86 87 <listitem revision="systemd"> 88 <para>2019-09-27</para> 89 <itemizedlist> 90 <listitem> 91 <para>[renodr] - Update to systemd-243. Fixes 92 <ulink url="&lfs-ticket-root;4456">#4456</ulink>.</para> 93 </listitem> 94 </itemizedlist> 95 </listitem> 96 97 <listitem> 98 <para>2019-09-24</para> 99 <itemizedlist> 100 <listitem> 101 <para>[pierre] - Update to linux-5.3.1. Fixes 102 <ulink url="&lfs-ticket-root;4528">#4528</ulink>.</para> 103 </listitem> 104 </itemizedlist> 105 </listitem> 47 106 48 107 <listitem> -
chapter01/whatsnew.xml
r5e009ae r91f763ae 69 69 <para>Diffutils-&diffutils-version;</para> 70 70 </listitem>--> 71 < !--<listitem>71 <listitem> 72 72 <para>E2fsprogs-&e2fsprogs-version;</para> 73 </listitem> -->73 </listitem> 74 74 <!--<listitem revision="sysv"> 75 75 <para>Eudev-&eudev-version;</para> … … 132 132 <para>Intltool-&intltool-version;</para> 133 133 </listitem>--> 134 < !--<listitem>134 <listitem> 135 135 <para>IPRoute2-&iproute2-version;</para> 136 </listitem> -->136 </listitem> 137 137 <!--<listitem> 138 138 <para>Kbd-&kbd-version;</para> … … 225 225 <para>Sysklogd-&sysklogd-version;</para> 226 226 </listitem>--> 227 < !--<listitem revision="systemd">227 <listitem revision="systemd"> 228 228 <para>Systemd-&systemd-version;</para> 229 </listitem> -->229 </listitem> 230 230 <listitem revision="sysv"> 231 231 <para>SysVinit-&sysvinit-version;</para> … … 237 237 <para>Tcl-&tcl-version;</para> 238 238 </listitem>--> 239 < !--<listitem>239 <listitem> 240 240 <para>Texinfo-&texinfo-version;</para> 241 </listitem> -->241 </listitem> 242 242 <listitem> 243 243 <para>Tzdata-&tzdata-version;</para> -
chapter03/patches.xml
r5e009ae r91f763ae 119 119 120 120 <varlistentry revision="systemd"> 121 <term>Systemd networkd and rdrand patch - <token>&systemd-networkd-patch-size;</token>:</term>122 <listitem> 123 <para>Download: <ulink url="&patches-root;&systemd- networkd-patch;"/></para>124 <para>MD5 sum: <literal>&systemd- networkd-patch-md5;</literal></para>121 <term>Systemd Consolidated Patch - <token>&systemd-consolidated-patch-size;</token>:</term> 122 <listitem> 123 <para>Download: <ulink url="&patches-root;&systemd-consolidated-patch;"/></para> 124 <para>MD5 sum: <literal>&systemd-consolidated-patch-md5;</literal></para> 125 125 </listitem> 126 126 </varlistentry> -
chapter05/linux-headers.xml
r5e009ae r91f763ae 54 54 55 55 <para>Now extract the user-visible kernel headers from the source. 56 They are placed in an intermediate local directory and copied to the needed 57 location because the extraction process removes any existing files in 58 the target directory.</para> 56 The recommended make target <quote>headers_install</quote> cannot be 57 used, because it requires <application>rsync</application>, which may not 58 be available. The headers are first placed in 59 <filename class="directory">./usr</filename>, then copied to the needed 60 location.</para> 59 61 60 <screen><userinput remap="make">make INSTALL_HDR_PATH=dest headers_install61 </userinput><userinput remap="install">cp -rv dest/include/* /tools/include</userinput></screen>62 <screen><userinput remap="make">make headers 63 </userinput><userinput remap="install">cp -rv usr/include/* /tools/include</userinput></screen> 62 64 63 65 </sect2> -
chapter06/attr.xml
r5e009ae r91f763ae 119 119 <para>Prepare Attr for compilation:</para> 120 120 121 <screen><userinput remap="configure"> 122 CC="gcc -mx32" ./configure \ 121 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 123 122 --prefix=/usr \ 124 123 --disable-static \ -
chapter06/createfiles.xml
r5e009ae r91f763ae 47 47 ln -sv bash /bin/sh</userinput></screen> 48 48 49 <screen arch="ml_32,ml_x32,ml_all"><userinput arch="ml_32,ml_all"> 50 ln -sv /tools/lib32/libgcc_s.so{,.1} /usr/lib32 51 ln -sv /tools/lib32/libstdc++.{a,so{,.6}} /usr/lib32 52 </userinput> 53 <userinput arch="ml_x32,ml_all"> 54 ln -sv /tools/libx32/libgcc_s.so{,.1} /usr/libx32 49 <para arch="ml_32,ml_x32,ml_all">32-bit builds also require these links:</para> 50 51 <screen arch="ml_32,ml_x32,ml_all"><userinput arch="ml_32,ml_all">ln -sv /tools/lib32/libgcc_s.so{,.1} /usr/lib32 52 ln -sv /tools/lib32/libstdc++.{a,so{,.6}} /usr/lib32</userinput></screen> 53 54 <para arch="ml_x32,ml_all">x32-bit builds also require these links:</para> 55 56 <screen arch="ml_x32,ml_all"><userinput arch="ml_x32,ml_all">ln -sv /tools/libx32/libgcc_s.so{,.1} /usr/libx32 55 57 ln -sv /tools/libx32/libstdc++.{a,so{,.6}} /usr/libx32 56 ln -sv /usr/libx32 / 57 </userinput></screen> 58 ln -sv /usr/libx32 /</userinput></screen> 58 59 59 60 <!--for lib in blkid lzma mount uuid -
chapter06/file.xml
r5e009ae r91f763ae 99 99 <para>Prepare File for compilation:</para> 100 100 101 <screen><userinput remap="configure"> 102 CC="gcc -mx32" ./configure \ 101 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 103 102 --prefix=/usr \ 104 103 --libdir=/usr/libx32 \ -
chapter06/libtool.xml
r5e009ae r91f763ae 110 110 <para>Prepare Libtool for compilation:</para> 111 111 112 <screen><userinput remap="configure"> 113 CC="gcc -mx32" ./configure \ 112 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 114 113 --prefix=/usr \ 115 114 --libdir=/usr/libx32 \ -
chapter06/linux-headers.xml
r5e009ae r91f763ae 54 54 55 55 <para>Now extract the user-visible kernel headers from the source. 56 They are placed in an intermediate local directory and copied to the needed 57 location because the extraction process removes any existing files in 58 the target directory. There are also some hidden files used by 59 the kernel developers and not needed by LFS that are removed from 60 the intermediate directory.</para> 61 62 <screen><userinput remap="make">make INSTALL_HDR_PATH=dest headers_install 63 find dest/include \( -name .install -o -name ..install.cmd \) -delete 64 </userinput><userinput remap="install">cp -rv dest/include/* /usr/include</userinput></screen> 56 The recommended make target <quote>headers_install</quote> cannot be 57 used, because it requires <application>rsync</application>, which is 58 not available in <filename class="directory">/tools</filename>. The 59 headers are first placed in <filename class="directory">./usr</filename>, 60 then some files used by the kernel developers are removed, then 61 the files are copied to their final location.</para> 62 63 <screen><userinput remap="make">make headers 64 find usr/include -name '.*' -delete 65 rm usr/include/Makefile 66 </userinput><userinput remap="install">cp -rv usr/include/* /usr/include</userinput></screen> 65 67 66 68 </sect2> -
chapter06/python.xml
r5e009ae r91f763ae 84 84 <screen><userinput remap="make">make</userinput></screen> 85 85 86 <para>The test suite requires TK and andX Windows session and cannot86 <para>The test suite requires TK and X Windows session and cannot 87 87 be run until Python 3 is reinstalled in BLFS.</para> 88 88 -
chapter06/systemd.xml
r5e009ae r91f763ae 41 41 <title>Installation of systemd</title> 42 42 43 <para>First, apply a patch to fix issues with systemd-networkd on Linux 5.2+44 kernels, as well as with AMD Ryzen CPUs:</para>45 46 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;- networkd_and_rdrand_fixes-1.patch</userinput></screen>43 <para>First, apply a patch to fix various bugs since the release 44 of systemd-243.</para> 45 46 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-consolidated_fixes-1.patch</userinput></screen> 47 47 48 48 <para>Create a symlink to work around missing xsltproc:</para> … … 71 71 <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen> 72 72 73 <!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->74 75 73 <para>Prepare systemd for compilation:</para> 76 74 … … 80 78 PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \ 81 79 LANG=en_US.UTF-8 \ 82 CFLAGS+="-Wno-format-overflow" \83 80 meson --prefix=/usr \ 84 81 --sysconfdir=/etc \ … … 208 205 <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen> 209 206 210 <para>Remove symbolic links to Util-Linux libraries:</para> 207 <para>Setup the basic target structure:</para> 208 209 <screen><userinput remap="adjust">systemctl preset-all</userinput></screen> 210 211 <para>Disable a service that is known to cause problems with systems that 212 use a network configuration other than what is provided by 213 systemd-networkd:</para> 214 <!-- Observed halting startup with dhcpcd handling the primary NIC --> 215 216 <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen> 217 218 <para>Prevent systemd from resetting the maximum PID value which causes 219 some problems with packages and units in BLFS:</para> 220 <!-- FCRON in particular --> 221 222 <screen><userinput remap="adjust">rm -f /etc/sysctl.d/50-pid-max.conf</userinput></screen> 223 224 <para>Cleanup symbolic links to Util-Linux libraries:</para> 211 225 212 226 <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen> -
chapter06/xz.xml
r5e009ae r91f763ae 109 109 <para>Prepare Xz for compilation:</para> 110 110 111 <screen><userinput remap="configure"> 112 CC="gcc -mx32" ./configure \ 111 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 113 112 --prefix=/usr \ 114 113 --disable-static \ -
chapter07/systemd-custom.xml
r5e009ae r91f763ae 246 246 <emphasis>Enable system-wide process lingering</emphasis>: 247 247 You can set <parameter>KillUserProcesses=no</parameter> in 248 <filename>/etc/ logind.conf</filename> to enable process lingering248 <filename>/etc/systemd/logind.conf</filename> to enable process lingering 249 249 globally for all users. This has the benefit of leaving the old 250 250 method available to all users at the expense of explicit control. … … 255 255 <emphasis>Disable at build-time</emphasis>: You can enable 256 256 lingering by default while building systemd by adding the switch 257 <parameter>-Ddefault-kill-user-processes= no</parameter> to the257 <parameter>-Ddefault-kill-user-processes=false</parameter> to the 258 258 <command>meson</command> command for systemd. This completely 259 259 disables the ability of systemd to kill user processes at session -
chapter08/kernel.xml
r5e009ae r91f763ae 235 235 Also, <filename>modprobe.d(5)</filename> may be of interest.</para> 236 236 237 <para>Install the modules, if the kernel configuration uses them:</para> 237 <para>Unless module support has been disabled in the kernel configuration, 238 install the modules with:</para> 238 239 239 240 <screen><userinput remap="install">make modules_install</userinput></screen> -
general.ent
r5e009ae r91f763ae 1 <!ENTITY version "SVN-2019 0914">1 <!ENTITY version "SVN-20191003"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "2019 0914-systemd">6 <!ENTITY versiond "20191003-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 8 <!ENTITY generic-versiond "systemd"> 9 9 10 <!ENTITY releasedate " September 14th, 2019">10 <!ENTITY releasedate "October 3rd, 2019"> 11 11 12 12 <!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not – --> -
packages.ent
r5e009ae r91f763ae 144 144 <!ENTITY diffutils-ch6-sbu "0.4 SBU"> 145 145 146 <!ENTITY e2fsprogs-version "1.45. 3">147 <!ENTITY e2fsprogs-size "7,74 1KB">146 <!ENTITY e2fsprogs-version "1.45.4"> 147 <!ENTITY e2fsprogs-size "7,746 KB"> 148 148 <!ENTITY e2fsprogs-url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v&e2fsprogs-version;/e2fsprogs-&e2fsprogs-version;.tar.gz"> 149 <!ENTITY e2fsprogs-md5 " 447a225c05f0a81121f6ddffbf55b06c">149 <!ENTITY e2fsprogs-md5 "2c2f9d4bcd0be54b3b3b8d5feec7b0ff"> 150 150 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/"> 151 151 <!ENTITY e2fsprogs-ch6-du "108 MB"> … … 167 167 <!ENTITY eudev-ch6-sbu "0.2 SBU"> 168 168 169 <!ENTITY expat-version "2.2. 8">169 <!ENTITY expat-version "2.2.9"> 170 170 <!ENTITY expat-size "413 KB"> 171 171 <!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.xz"> 172 <!ENTITY expat-md5 " cdf54239f892fc7914957f10de1e1c70">172 <!ENTITY expat-md5 "d2384fa607223447e713e1b9bd272376"> 173 173 <!ENTITY expat-home "https://libexpat.github.io/"> 174 174 <!ENTITY expat-ch6-du "11 MB"> … … 349 349 <!ENTITY intltool-ch6-sbu "less than 0.1 SBU"> 350 350 351 <!ENTITY iproute2-version "5. 2.0">352 <!ENTITY iproute2-size "7 13KB">351 <!ENTITY iproute2-version "5.3.0"> 352 <!ENTITY iproute2-size "726 KB"> 353 353 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 354 <!ENTITY iproute2-md5 " 0cb2736e7bc2f56254a363d3d23703b7">354 <!ENTITY iproute2-md5 "227404413c8d6db649d6188ead1e5a6e"> 355 355 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 356 356 <!ENTITY iproute2-ch6-du "13 MB"> … … 430 430 431 431 <!ENTITY linux-major-version "5"> 432 <!ENTITY linux-minor-version " 2">433 <!ENTITY linux-patch-version "1 4">432 <!ENTITY linux-minor-version "3"> 433 <!ENTITY linux-patch-version "1"> 434 434 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 435 435 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 436 <!ENTITY linux-size "10 4,567KB">436 <!ENTITY linux-size "106,003 KB"> 437 437 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 438 <!ENTITY linux-md5 " b3ffd400c356a8b7a49db5eb90c38644">438 <!ENTITY linux-md5 "4c68633ce304b8fbc7be2d3452060c11"> 439 439 <!ENTITY linux-home "https://www.kernel.org/"> 440 440 <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is … … 444 444 <!ENTITY linux-ch8-sbu "4.4 - 66.0 SBU (typically about 6 SBU)"> 445 445 446 <!ENTITY linux-headers-ch5-du " 960 MB">446 <!ENTITY linux-headers-ch5-du "1 GB"> 447 447 <!ENTITY linux-headers-ch5-sbu "0.1 SBU"> 448 <!ENTITY linux-headers-ch6-du " 960 MB">449 <!ENTITY linux-headers-ch6-sbu " less than0.1 SBU">448 <!ENTITY linux-headers-ch6-du "1 GB"> 449 <!ENTITY linux-headers-ch6-sbu "0.1 SBU"> 450 450 451 451 <!ENTITY linux-firmware-version "20190519"> … … 638 638 <!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU"> 639 639 640 <!ENTITY systemd-version "24 1">640 <!ENTITY systemd-version "243"> 641 641 <!--<!ENTITY systemd-stable "6b4878d">--> 642 642 <!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel 643 643 change that is incompatible, we will switch to the backport branch until the next stable release. --> 644 <!ENTITY systemd-size " 7,464KB">644 <!ENTITY systemd-size "8,052 KB"> 645 645 <!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 646 646 <!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">--> 647 <!ENTITY systemd-md5 "c 5953c24c850b44fcf714326e567dc37">647 <!ENTITY systemd-md5 "ca2403fa7dff73afd2e896b4cb25021b"> 648 648 <!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/"> 649 <!ENTITY systemd-man-size " 456KB">649 <!ENTITY systemd-man-size "504 KB"> 650 650 <!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">--> 651 651 <!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;.tar.xz"> 652 <!ENTITY systemd-man-md5 " 6942e1a9032e19da6639f9705241d119">653 <!ENTITY systemd-ch6-du "22 7MB">654 <!ENTITY systemd-ch6-sbu " 0.4SBU">652 <!ENTITY systemd-man-md5 "22278b3c8fa27323b5baafffb093f0f0"> 653 <!ENTITY systemd-ch6-du "228 MB"> 654 <!ENTITY systemd-ch6-sbu "1.8 SBU"> 655 655 656 656 <!ENTITY sysvinit-version "2.96"> … … 681 681 <!ENTITY tcl-ch5-sbu "0.9 SBU"> 682 682 683 <!ENTITY texinfo-version "6. 6">684 <!ENTITY texinfo-size "4, 831KB">683 <!ENTITY texinfo-version "6.7"> 684 <!ENTITY texinfo-size "4,237 KB"> 685 685 <!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz"> 686 <!ENTITY texinfo-md5 " 5231da3e6aa106cd0532b8609e5b3702">686 <!ENTITY texinfo-md5 "d4c5d8cc84438c5993ec5163a59522a6"> 687 687 <!ENTITY texinfo-home "&gnu-software;texinfo/"> 688 688 <!ENTITY texinfo-ch5-du "103 MB"> … … 724 724 <!ENTITY vim-ch6-sbu "2.2 SBU"> 725 725 726 <!ENTITY xml-parser-version "2.4 4">727 <!ENTITY xml-parser-size "2 32KB">726 <!ENTITY xml-parser-version "2.46"> 727 <!ENTITY xml-parser-size "249 KB"> 728 728 <!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz"> 729 <!ENTITY xml-parser-md5 " af4813fe3952362451201ced6fbce379">729 <!ENTITY xml-parser-md5 "80bb18a8e6240fcf7ec2f7b57601c170"> 730 730 <!ENTITY xml-parser-home "&github;/chorny/XML-Parser"> 731 731 <!ENTITY xml-parser-ch6-du "2.3 MB"> -
patches.ent
r5e009ae r91f763ae 58 58 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB"> 59 59 60 <!ENTITY systemd- networkd-patch "systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch">61 <!ENTITY systemd- networkd-patch-md5 "bb26f26d7c3a17d1888ab3171366906b">62 <!ENTITY systemd- networkd-patch-size "8KB">60 <!ENTITY systemd-consolidated-patch "systemd-&systemd-version;-consolidated_fixes-1.patch"> 61 <!ENTITY systemd-consolidated-patch-md5 "d1f60dcbd53222eecfc58e4e95ef60ab"> 62 <!ENTITY systemd-consolidated-patch-size "60 KB"> 63 63
Note:
See TracChangeset
for help on using the changeset viewer.