Changes in / [d9bec1e:02c702c]
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rd9bec1e r02c702c 4 4 appendices/*.script 5 5 *.swp 6 6 fop.log -
chapter01/changelog.xml
rd9bec1e r02c702c 42 42 43 43 <listitem> 44 <para>2022-03-16</para> 45 <itemizedlist> 46 <listitem> 47 <para>[xry111] - Update to MarkupSafe-2.1.1. Fixes 48 <ulink url="&lfs-ticket-root;5025">#5025</ulink>.</para> 49 </listitem> 50 </itemizedlist> 51 </listitem> 52 53 <listitem> 54 <para>2022-03-15</para> 55 <itemizedlist> 56 <listitem> 57 <para>[bdubbs] - Update to openssl-3.0.2. Fixes 58 <ulink url="&lfs-ticket-root;5024">#5024</ulink>.</para> 59 </listitem> 60 <listitem> 61 <para>[bdubbs] - Update to meson-0.61.3. Fixes 62 <ulink url="&lfs-ticket-root;5023">#5023</ulink>.</para> 63 </listitem> 64 <listitem> 65 <para>[xry111] - Update to expat-2.4.7. Fixes 66 <ulink url="&lfs-ticket-root;5019">#5019</ulink>.</para> 67 </listitem> 68 <listitem> 69 <para>[xry111] - Update to bc-5.2.3. Fixes 70 <ulink url="&lfs-ticket-root;5020">#5020</ulink>.</para> 71 </listitem> 72 <listitem> 73 <para>[xry111] - Update to linux-5.16.14 (security fix). Fixes 74 <ulink url="&lfs-ticket-root;5021">#5021</ulink>.</para> 75 </listitem> 76 <listitem> 77 <para>[xry111] - Update to perl-5.34.1. Fixes 78 <ulink url="&lfs-ticket-root;5022">#5022</ulink>.</para> 79 </listitem> 80 <listitem> 81 <para>[xry111] - Update to vim-8.2.4567 (security fix). 82 Addresses <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para> 83 </listitem> 84 </itemizedlist> 85 </listitem> 86 87 <listitem> 88 <para>2022-03-05</para> 89 <itemizedlist> 90 <listitem> 91 <para>[xry111] - Stop changing the owner of 92 <filename class='directory'>$LFS/source</filename> to 93 <systemitem class='username'>lfs</systemitem>. Fixes 94 <ulink url="&lfs-ticket-root;5018">#5018</ulink>.</para> 95 </listitem> 96 <listitem> 97 <para>[xry111] - Add zstd-1.5.2 upstream fixes patch.</para> 98 </listitem> 99 </itemizedlist> 100 </listitem> 101 102 <listitem> 44 103 <para>2022-03-02</para> 45 104 <itemizedlist> … … 56 115 <ulink url="&lfs-ticket-root;5015">#5015</ulink>.</para> 57 116 </listitem> 58 <listitem >117 <listitem revision="systemd"> 59 118 <para>[xry111] - Update to dbus-1.14.0. Fixes 60 119 <ulink url="&lfs-ticket-root;5017">#5017</ulink>.</para> -
chapter01/whatsnew.xml
rd9bec1e r02c702c 42 42 <para>Bash &bash-version;</para> 43 43 </listitem>--> 44 <!--<listitem>44 <listitem> 45 45 <para>Bc &bc-version;</para> 46 </listitem> -->46 </listitem> 47 47 <!--<listitem> 48 48 <para>Binutils-&binutils-version;</para> … … 75 75 <para>Eudev-&eudev-version;</para> 76 76 </listitem>--> 77 <!--<listitem>77 <listitem> 78 78 <para>Expat-&expat-version;</para> 79 </listitem> -->79 </listitem> 80 80 <!--<listitem> 81 81 <para>Expect-&expect-version;</para> … … 198 198 <para>Ninja-&ninja-version;</para> 199 199 </listitem>--> 200 <!--<listitem>200 <listitem> 201 201 <para>Openssl-&openssl-version;</para> 202 </listitem> -->202 </listitem> 203 203 <!--<listitem> 204 204 <para>Patch-&patch-version;</para> 205 205 </listitem>--> 206 <!--<listitem>206 <listitem> 207 207 <para>Perl-&perl-version;</para> 208 </listitem> -->208 </listitem> 209 209 <!--<listitem> 210 210 <para>Pkg-config-&pkgconfig-version;</para> … … 281 281 <title>Added:</title> 282 282 <listitem><para></para></listitem> <!-- satisfy build --> 283 <!-- 284 <listitem> 285 <para>binutils-2.37-upstream_fix-1.patch</para> 286 </listitem> 287 <listitem> 288 <para>gcc-11.1.0-upstream_fixes-1.patch</para> 289 </listitem> 290 --> 283 <listitem> 284 <para>&zstd-upstream-fixes-patch;</para> 285 </listitem> 291 286 </itemizedlist> 292 287 … … 295 290 <listitem><para></para></listitem> <!-- satisfy build --> 296 291 297 < !--<listitem>298 <para> bash-5.0-upstream_fixes-1.patch</para>299 </listitem> -->292 <listitem> 293 <para>perl-5.34.0-upstream_fixes-1.patch</para> 294 </listitem> 300 295 301 296 </itemizedlist> -
chapter03/patches.xml
rd9bec1e r02c702c 109 109 </varlistentry> 110 110 --> 111 111 <!-- 112 112 <varlistentry> 113 113 <term>Perl Upstream Fix Patch - <token>&perl-fix-patch-size;</token>:</term> … … 117 117 </listitem> 118 118 </varlistentry> 119 --> 119 120 <!-- 120 121 <varlistentry> … … 142 143 </varlistentry> 143 144 145 <varlistentry> 146 <term>Zstd Upstream Fixes Patch - <token>&zstd-upstream-fixes-patch-size;</token>:</term> 147 <listitem> 148 <para>Download: <ulink url="&patches-root;&zstd-upstream-fixes-patch;"/></para> 149 <para>MD5 sum: <literal>&zstd-upstream-fixes-patch-md5;</literal></para> 150 </listitem> 151 </varlistentry> 144 152 </variablelist> 145 153 -
chapter04/addinguser.xml
rd9bec1e r02c702c 89 89 <screen arch="ml_all" ><userinput>chown -v lfs $LFS/{lib32,libx32}</userinput></screen> 90 90 91 <para>If a separate working directory was created as suggested, give92 user <systemitem class="username">lfs</systemitem> ownership of this93 directory:</para>94 95 <screen><userinput>chown -v lfs $LFS/sources</userinput></screen>96 97 91 <note><para>In some host systems, the following command does not complete 98 92 properly and suspends the login to the lfs user to the background. If the -
chapter06/coreutils.xml
rd9bec1e r02c702c 82 82 <para>Move programs to their final expected locations. Although this is 83 83 not necessary in this temporary environment, we must do so because some 84 programs har code executable locations:</para>84 programs hardcode executable locations:</para> 85 85 86 86 <screen><userinput remap="install">mv -v $LFS/usr/bin/chroot $LFS/usr/sbin -
chapter07/createfiles.xml
rd9bec1e r02c702c 37 37 <para>Historically, Linux maintains a list of the mounted file systems in the 38 38 file <filename>/etc/mtab</filename>. Modern kernels maintain this list 39 internally and expose sit to the user via the <filename39 internally and expose it to the user via the <filename 40 40 class="directory">/proc</filename> filesystem. To satisfy utilities that 41 41 expect the presence of <filename>/etc/mtab</filename>, create the following -
chapter07/kernfs.xml
rd9bec1e r02c702c 25 25 <screen><userinput>mkdir -pv $LFS/{dev,proc,sys,run}</userinput></screen> 26 26 27 <sect2>28 <title>Creating Initial Device Nodes</title>29 30 <para>When the kernel boots the system, it requires the presence of a few31 device nodes, in particular the <filename32 class="devicefile">console</filename> and <filename33 class="devicefile">null</filename> devices. The device nodes must be34 created on the hard disk so that they are available before the kernel35 populates <systemitem class="filesystem">/dev</systemitem>), and36 additionally when Linux is started with37 <parameter>init=/bin/bash</parameter>. Create the devices by running the38 following commands:</para>39 40 <screen><userinput>mknod -m 600 $LFS/dev/console c 5 141 mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>42 43 </sect2>44 45 27 <sect2 id="ch-tools-bindmount"> 46 28 <title>Mounting and Populating /dev</title> 47 29 48 <para> The recommended method of populating the <filename49 class="directory">/dev</filename> directory with devices is to mount a50 virtual filesystem (such as <systemitem51 class="filesystem">tmpfs</systemitem>) on the <filename52 class="directory">/dev</filename> directory, and allow the devices to be53 created dynamically on that virtual filesystem as they are detected or54 accessed. Device creation is generally done during the boot process55 by Udev. Since this new system does not yet have Udev and has not yet56 been booted, it is necessary to mount and populate <filename57 class="directory">/dev</filename> manually. This is accomplished by bind58 mounting the host system's <filename class="directory">/dev</filename>59 directory. A bind mount is a special type of mount that allows you to60 create a mirror of a directory or mount point to some other location. Use61 the followingcommand to achieve this:</para>30 <para>During a normal boot, the kernel automatically mounts the 31 <systemitem class="filesystem">devtmpfs</systemitem> filesystem on the 32 <filename class="directory">/dev</filename> directory, and allow the 33 devices to be created dynamically on that virtual filesystem as they 34 are detected or accessed. Device creation is generally done during the 35 boot process by the kernel and Udev. 36 Since this new system does not yet have Udev and 37 has not yet been booted, it is necessary to mount and populate 38 <filename class="directory">/dev</filename> manually. This is 39 accomplished by bind mounting the host system's 40 <filename class="directory">/dev</filename> directory. A bind mount is 41 a special type of mount that allows you to create a mirror of a 42 directory or mount point to some other location. Use the following 43 command to achieve this:</para> 62 44 63 45 <screen><userinput>mount -v --bind /dev $LFS/dev</userinput></screen> -
chapter08/dbus.xml
rd9bec1e r02c702c 52 52 --sysconfdir=/etc \ 53 53 --localstatedir=/var \ 54 --runstatedir=/run \ 54 55 --disable-static \ 55 56 --disable-doxygen-docs \ … … 57 58 --docdir=/usr/share/doc/dbus-&dbus-version; \ 58 59 --with-console-auth-dir=/run/console \ 59 --with-system-pid-file=/run/dbus/pid \60 60 --with-system-socket=/run/dbus/system_bus_socket</userinput></screen> 61 61 … … 73 73 <varlistentry> 74 74 <term> 75 <parameter>-- with-system-pid-file=/run/dbus/pid</parameter> and75 <parameter>--runstatedir=/run</parameter> and 76 76 <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter> 77 77 </term> -
chapter08/gcc.xml
rd9bec1e r02c702c 193 193 194 194 <screen><userinput remap="install">chown -v -R root:root \ 195 /usr/lib/gcc/ *linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>195 /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen> 196 196 197 197 <para>Create a symlink required by the <ulink -
chapter08/glibc.xml
rd9bec1e r02c702c 175 175 176 176 <listitem> 177 <para>The <emphasis>nss/tst-nss-files-hosts-long</emphasis> 178 test is known to fail if the system has no non-loopback IP 179 addresses.</para> <!-- PR 24816 --> 180 </listitem> 181 182 <listitem> 177 183 <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis> 178 test is known to fail if the system has no non-loopback IP179 addresses.</para>184 test is known to fail on relatively slow systems due to an internal 185 timeout.</para> 180 186 </listitem> 181 187 <!-- -
chapter08/markupsafe.xml
rd9bec1e r02c702c 60 60 61 61 <seglistitem> 62 <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;.egg</seg> 62 <!-- Suffix "-linux-<arch>" is different from meson and jinja: 63 This package contains binary code (compiled from C), but meson 64 and jinja only contain Python code. --> 65 <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;-linux-<replaceable><arch></replaceable>.egg</seg> 63 66 </seglistitem> 64 67 </segmentedlist> -
chapter08/perl.xml
rd9bec1e r02c702c 41 41 <sect2 role="installation"> 42 42 <title>Installation of Perl</title> 43 43 <!-- 44 44 <para>First, apply a patch that fixes an issue highlighted by recent 45 45 versions of gdbm:</para> 46 46 47 47 <screen><userinput remap="pre">patch -Np1 -i ../&perl-fix-patch;</userinput></screen> 48 48 --> 49 49 <para>This version of Perl now builds the Compress::Raw::Zlib and 50 50 Compress::Raw::BZip2 modules. By -
chapter08/pkgmgt.xml
rd9bec1e r02c702c 103 103 scheme of library files suddenly.</para> </listitem> 104 104 105 <listitem> 105 <listitem><para>If a package containing a shared library is updated, 106 106 and the name of library doesn't change, but a severe issue 107 107 (especially, a security vulnerability) is fixed, all running programs … … 121 121 and rerun that command to confirm nothing is still using the 122 122 deleted libraries. 123 </para> 124 125 <para revision='systemd'> 126 If the <command>systemd</command> daemon (running as PID 1) is 127 linked to the updated library, you can restart it without reboot 128 by running <command>systemctl daemon-reexec</command> as the 129 <systemitem class='username'>root</systemitem> user. 123 130 </para></listitem> 124 131 -
chapter08/stripping.xml
rd9bec1e r02c702c 48 48 49 49 <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> 50 50 <screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*) 51 51 libc.so.6 52 52 libthread_db.so.1 -
chapter08/systemd.xml
rd9bec1e r02c702c 181 181 <para>Install the man pages:</para> 182 182 183 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz - -strip-components=1 -C /usr/share/man</userinput></screen>183 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man</userinput></screen> 184 184 185 185 <para>Remove a useless directory:</para> -
chapter08/zstd.xml
rd9bec1e r02c702c 42 42 <sect2 role="installation"> 43 43 <title>Installation of Zstd</title> 44 45 <para>Apply a patch to fix some issues identified by upstream:</para> 46 47 <screen><userinput remap="pre">patch -Np1 -i ../&zstd-upstream-fixes-patch;</userinput></screen> 44 48 45 49 <para>Compile the package:</para> -
packages.ent
rd9bec1e r02c702c 59 59 <!ENTITY bash-fin-sbu "1.5 SBU"> 60 60 61 <!ENTITY bc-version "5.2. 2">61 <!ENTITY bc-version "5.2.3"> 62 62 <!ENTITY bc-size "428 KB"> 63 63 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 64 <!ENTITY bc-md5 " 632344cdb052af0e06087bd3b0034126">64 <!ENTITY bc-md5 "804afda772aad9f8dd77847f8944a17d"> 65 65 <!ENTITY bc-home "https://git.yzena.com/gavin/bc"> 66 66 <!ENTITY bc-fin-du "7.1 MB"> … … 164 164 <!ENTITY eudev-fin-sbu "0.2 SBU"> 165 165 166 <!ENTITY expat-version "2.4. 6">166 <!ENTITY expat-version "2.4.7"> 167 167 <!ENTITY expat-size "444 KB"> 168 168 <!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.xz"> 169 <!ENTITY expat-md5 " 22a30c888752fdda9f8dd1b7281c54b0">169 <!ENTITY expat-md5 "75a1f475e30281a00cb6f083ea481159"> 170 170 <!ENTITY expat-home "https://libexpat.github.io/"> 171 171 <!ENTITY expat-fin-du "12 MB"> … … 437 437 <!ENTITY linux-major-version "5"> 438 438 <!ENTITY linux-minor-version "16"> 439 <!ENTITY linux-patch-version "1 2">439 <!ENTITY linux-patch-version "14"> 440 440 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 441 441 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 442 <!ENTITY linux-size "124,5 72KB">442 <!ENTITY linux-size "124,584 KB"> 443 443 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 444 <!ENTITY linux-md5 "e 859941968400c4437bd62b4fe39b7b7">444 <!ENTITY linux-md5 "e972cda9b33bbd70737bfccb365410f8"> 445 445 <!ENTITY linux-home "https://www.kernel.org/"> 446 446 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 492 492 <!ENTITY man-pages-fin-sbu "less than 0.1 SBU"> 493 493 494 <!ENTITY markupsafe-version "2.1. 0">494 <!ENTITY markupsafe-version "2.1.1"> 495 495 <!ENTITY markupsafe-size "20 KB"> 496 496 <!ENTITY markupsafe-url "https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-&markupsafe-version;.tar.gz"> 497 <!ENTITY markupsafe-md5 " 1c3ef96104e89fc64f90e48194a4f154">497 <!ENTITY markupsafe-md5 "9809f9fdd98bc835b0c21aa8f79cbf30"> 498 498 <!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/"> 499 499 <!ENTITY markupsafe-fin-du "520 KB"> 500 500 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 501 501 502 <!ENTITY meson-version "0.61. 2">503 <!ENTITY meson-size "1,96 8KB">502 <!ENTITY meson-version "0.61.3"> 503 <!ENTITY meson-size "1,965 KB"> 504 504 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 505 <!ENTITY meson-md5 " 7c4220066c70057b4c5a997a47ac710c">505 <!ENTITY meson-md5 "8998d77313d753a0c474d9bdf1738b2e"> 506 506 <!ENTITY meson-home "https://mesonbuild.com"> 507 507 <!ENTITY meson-fin-du "41 MB"> … … 542 542 <!ENTITY ninja-fin-sbu "0.2 SBU"> 543 543 544 <!ENTITY openssl-version "3.0. 1">545 <!ENTITY openssl-size "14,6 60KB">544 <!ENTITY openssl-version "3.0.2"> 545 <!ENTITY openssl-size "14,686 KB"> 546 546 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 547 <!ENTITY openssl-md5 "7 d07e849d77d276891edd579a8832bb3">547 <!ENTITY openssl-md5 "7f9d43bb7a1e742722cf6d6f40531462"> 548 548 <!ENTITY openssl-home "https://www.openssl.org/"> 549 549 <!ENTITY openssl-fin-du "474 MB"> … … 562 562 <!ENTITY perl-version-major "5"> 563 563 <!ENTITY perl-version-minor "34"> 564 <!ENTITY perl-version-patch " 0">564 <!ENTITY perl-version-patch "1"> 565 565 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 566 566 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 567 <!ENTITY perl-size "12, 580KB">567 <!ENTITY perl-size "12,464 KB"> 568 568 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 569 <!ENTITY perl-md5 " df7ecb0653440b26dc951ad9dbfab517">569 <!ENTITY perl-md5 "7d2ece7f50775ea1ff739831935a24bd"> 570 570 <!ENTITY perl-home "https://www.perl.org/"> 571 571 <!ENTITY perl-tmp-du "272 MB"> … … 730 730 <!ENTITY util-linux-fin-sbu "1.1 SBU"> 731 731 732 <!ENTITY vim-version "8.2.4 489">732 <!ENTITY vim-version "8.2.4567"> 733 733 <!ENTITY vim-majmin "82"> 734 734 <!ENTITY vim-docdir "vim/vim82"> 735 <!ENTITY vim-size "10, 380KB">735 <!ENTITY vim-size "10,436 KB"> 736 736 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 737 737 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz"> 738 <!ENTITY vim-md5 " 41e97917fc46d044ffe951c197509efe">738 <!ENTITY vim-md5 "939fdfad067dec0e67bc4f8ad219cb4e"> 739 739 <!ENTITY vim-home "https://www.vim.org"> 740 740 <!ENTITY vim-fin-du "206 MB"> -
patches.ent
rd9bec1e r02c702c 72 72 <!ENTITY ninja-limit-jobs-patch-size "2.5 KB"> 73 73 --> 74 74 <!-- 75 75 <!ENTITY perl-fix-patch "perl-&perl-version;-upstream_fixes-1.patch"> 76 76 <!ENTITY perl-fix-patch-md5 "fb42558b59ed95ee00eb9f1c1c9b8056"> 77 77 <!ENTITY perl-fix-patch-size "1.6 KB"> 78 --> 78 79 <!-- 79 80 <!ENTITY shadow-segfault-patch "shadow-&shadow-version;-useradd_segfault-1.patch"> … … 88 89 <!ENTITY systemd-upstream-fixes-patch-md5 "71eac6abdad5fba2039dcd011a9ae5b3"> 89 90 <!ENTITY systemd-upstream-fixes-patch-size "20 KB"> 91 92 <!ENTITY zstd-upstream-fixes-patch "zstd-&zstd-version;-upstream_fixes-1.patch"> 93 <!ENTITY zstd-upstream-fixes-patch-md5 "a7e576e3f87415fdf388392b257cdcf3"> 94 <!ENTITY zstd-upstream-fixes-patch-size "4 KB"> -
pdf-fixups.sh
rd9bec1e r02c702c 14 14 # Not needed 15 15 #sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE 16 sed -i -e "s/monospace/&\" font-size=\"9pt/g" $FILE 16 17 17 18 # Break a block of code at the right place
Note:
See TracChangeset
for help on using the changeset viewer.