Changes in / [d9bec1e:02c702c]


Ignore:
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rd9bec1e r02c702c  
    44appendices/*.script
    55*.swp
    6 
     6fop.log
  • chapter01/changelog.xml

    rd9bec1e r02c702c  
    4242
    4343    <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>
    44103      <para>2022-03-02</para>
    45104      <itemizedlist>
     
    56115          <ulink url="&lfs-ticket-root;5015">#5015</ulink>.</para>
    57116        </listitem>
    58         <listitem>
     117        <listitem revision="systemd">
    59118          <para>[xry111] - Update to dbus-1.14.0. Fixes
    60119          <ulink url="&lfs-ticket-root;5017">#5017</ulink>.</para>
  • chapter01/whatsnew.xml

    rd9bec1e r02c702c  
    4242      <para>Bash &bash-version;</para>
    4343    </listitem>-->
    44    <!--<listitem>
     44    <listitem>
    4545      <para>Bc &bc-version;</para>
    46     </listitem>-->
     46    </listitem>
    4747   <!--<listitem>
    4848      <para>Binutils-&binutils-version;</para>
     
    7575       <para>Eudev-&eudev-version;</para>
    7676    </listitem>-->
    77    <!--<listitem>
     77    <listitem>
    7878       <para>Expat-&expat-version;</para>
    79     </listitem>-->
     79    </listitem>
    8080    <!--<listitem>
    8181       <para>Expect-&expect-version;</para>
     
    198198      <para>Ninja-&ninja-version;</para>
    199199    </listitem>-->
    200    <!--<listitem>
     200    <listitem>
    201201      <para>Openssl-&openssl-version;</para>
    202     </listitem>-->
     202    </listitem>
    203203    <!--<listitem>
    204204      <para>Patch-&patch-version;</para>
    205205    </listitem>-->
    206    <!--<listitem>
     206    <listitem>
    207207      <para>Perl-&perl-version;</para>
    208     </listitem>-->
     208    </listitem>
    209209    <!--<listitem>
    210210      <para>Pkg-config-&pkgconfig-version;</para>
     
    281281    <title>Added:</title>
    282282    <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>
    291286  </itemizedlist>
    292287
     
    295290    <listitem><para></para></listitem>  <!-- satisfy build -->
    296291
    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>
    300295
    301296  </itemizedlist>
  • chapter03/patches.xml

    rd9bec1e r02c702c  
    109109    </varlistentry>
    110110-->
    111 
     111<!--
    112112    <varlistentry>
    113113      <term>Perl Upstream Fix Patch - <token>&perl-fix-patch-size;</token>:</term>
     
    117117      </listitem>
    118118    </varlistentry>
     119-->
    119120<!--
    120121    <varlistentry>
     
    142143    </varlistentry>
    143144
     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>
    144152  </variablelist>
    145153
  • chapter04/addinguser.xml

    rd9bec1e r02c702c  
    8989<screen arch="ml_all" ><userinput>chown -v lfs $LFS/{lib32,libx32}</userinput></screen>
    9090
    91   <para>If a separate working directory was created as suggested, give
    92   user <systemitem class="username">lfs</systemitem> ownership of this
    93   directory:</para>
    94 
    95 <screen><userinput>chown -v lfs $LFS/sources</userinput></screen>
    96 
    9791  <note><para>In some host systems, the following command does not complete
    9892  properly and suspends the login to the lfs user to the background.  If the
  • chapter06/coreutils.xml

    rd9bec1e r02c702c  
    8282    <para>Move programs to their final expected locations. Although this is
    8383    not necessary in this temporary environment, we must do so because some
    84     programs harcode executable locations:</para>
     84    programs hardcode executable locations:</para>
    8585
    8686<screen><userinput remap="install">mv -v $LFS/usr/bin/chroot              $LFS/usr/sbin
  • chapter07/createfiles.xml

    rd9bec1e r02c702c  
    3737  <para>Historically, Linux maintains a list of the mounted file systems in the
    3838  file <filename>/etc/mtab</filename>. Modern kernels maintain this list
    39   internally and exposes it to the user via the <filename
     39  internally and expose it to the user via the <filename
    4040  class="directory">/proc</filename> filesystem. To satisfy utilities that
    4141  expect the presence of <filename>/etc/mtab</filename>, create the following
  • chapter07/kernfs.xml

    rd9bec1e r02c702c  
    2525<screen><userinput>mkdir -pv $LFS/{dev,proc,sys,run}</userinput></screen>
    2626
    27   <sect2>
    28     <title>Creating Initial Device Nodes</title>
    29 
    30     <para>When the kernel boots the system, it requires the presence of a few
    31     device nodes, in particular the <filename
    32     class="devicefile">console</filename> and <filename
    33     class="devicefile">null</filename> devices. The device nodes must be
    34     created on the hard disk so that they are available before the kernel
    35     populates <systemitem class="filesystem">/dev</systemitem>), and
    36     additionally when Linux is started with
    37     <parameter>init=/bin/bash</parameter>. Create the devices by running the
    38     following commands:</para>
    39 
    40 <screen><userinput>mknod -m 600 $LFS/dev/console c 5 1
    41 mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
    42 
    43   </sect2>
    44 
    4527  <sect2 id="ch-tools-bindmount">
    4628    <title>Mounting and Populating /dev</title>
    4729
    48       <para>The recommended method of populating the <filename
    49       class="directory">/dev</filename> directory with devices is to mount a
    50       virtual filesystem (such as <systemitem
    51       class="filesystem">tmpfs</systemitem>) on the <filename
    52       class="directory">/dev</filename> directory, and allow the devices to be
    53       created dynamically on that virtual filesystem as they are detected or
    54       accessed. Device creation is generally done during the boot process
    55       by Udev. Since this new system does not yet have Udev and has not yet
    56       been booted, it is necessary to mount and populate <filename
    57       class="directory">/dev</filename> manually. This is accomplished by bind
    58       mounting the host system's <filename class="directory">/dev</filename>
    59       directory. A bind mount is a special type of mount that allows you to
    60       create a mirror of a directory or mount point to some other location. Use
    61       the following command 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>
    6244
    6345<screen><userinput>mount -v --bind /dev $LFS/dev</userinput></screen>
  • chapter08/dbus.xml

    rd9bec1e r02c702c  
    5252            --sysconfdir=/etc                    \
    5353            --localstatedir=/var                 \
     54            --runstatedir=/run                   \
    5455            --disable-static                     \
    5556            --disable-doxygen-docs               \
     
    5758            --docdir=/usr/share/doc/dbus-&dbus-version; \
    5859            --with-console-auth-dir=/run/console \
    59             --with-system-pid-file=/run/dbus/pid \
    6060            --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
    6161
     
    7373      <varlistentry>
    7474        <term>
    75           <parameter>--with-system-pid-file=/run/dbus/pid</parameter> and
     75          <parameter>--runstatedir=/run</parameter> and
    7676          <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
    7777        </term>
  • chapter08/gcc.xml

    rd9bec1e r02c702c  
    193193
    194194<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>
    196196
    197197    <para>Create a symlink required by the <ulink
  • chapter08/glibc.xml

    rd9bec1e r02c702c  
    175175
    176176      <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>
    177183        <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
    178         test is known to fail if the system has no non-loopback IP
    179         addresses.</para>
     184        test is known to fail on relatively slow systems due to an internal
     185        timeout.</para>
    180186      </listitem>
    181187<!--
  • chapter08/markupsafe.xml

    rd9bec1e r02c702c  
    6060
    6161      <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>&lt;arch&gt;</replaceable>.egg</seg>
    6366      </seglistitem>
    6467    </segmentedlist>
  • chapter08/perl.xml

    rd9bec1e r02c702c  
    4141  <sect2 role="installation">
    4242    <title>Installation of Perl</title>
    43 
     43<!--
    4444    <para>First, apply a patch that fixes an issue highlighted by recent
    4545    versions of gdbm:</para>
    4646
    4747<screen><userinput remap="pre">patch -Np1 -i ../&perl-fix-patch;</userinput></screen>
    48 
     48-->
    4949    <para>This version of Perl now builds the Compress::Raw::Zlib and
    5050    Compress::Raw::BZip2 modules. By
  • chapter08/pkgmgt.xml

    rd9bec1e r02c702c  
    103103      scheme of library files suddenly.</para> </listitem>
    104104
    105       <listitem> <para>If a package containing a shared library is updated,
     105      <listitem><para>If a package containing a shared library is updated,
    106106      and the name of library doesn't change, but a severe issue
    107107      (especially, a security vulnerability) is fixed, all running programs
     
    121121        and rerun that command to confirm nothing is still using the
    122122        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.
    123130      </para></listitem>
    124131
  • chapter08/stripping.xml

    rd9bec1e r02c702c  
    4848
    4949<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
    50       <screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*)
     50<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*)
    5151             libc.so.6
    5252             libthread_db.so.1
  • chapter08/systemd.xml

    rd9bec1e r02c702c  
    181181    <para>Install the man pages:</para>
    182182
    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>
    184184
    185185    <para>Remove a useless directory:</para>
  • chapter08/zstd.xml

    rd9bec1e r02c702c  
    4242  <sect2 role="installation">
    4343    <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>
    4448
    4549    <para>Compile the package:</para>
  • packages.ent

    rd9bec1e r02c702c  
    5959<!ENTITY bash-fin-sbu "1.5 SBU">
    6060
    61 <!ENTITY bc-version "5.2.2">
     61<!ENTITY bc-version "5.2.3">
    6262<!ENTITY bc-size "428 KB">
    6363<!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">
    6565<!ENTITY bc-home "https://git.yzena.com/gavin/bc">
    6666<!ENTITY bc-fin-du "7.1 MB">
     
    164164<!ENTITY eudev-fin-sbu "0.2 SBU">
    165165
    166 <!ENTITY expat-version "2.4.6">
     166<!ENTITY expat-version "2.4.7">
    167167<!ENTITY expat-size "444 KB">
    168168<!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.xz">
    169 <!ENTITY expat-md5 "22a30c888752fdda9f8dd1b7281c54b0">
     169<!ENTITY expat-md5 "75a1f475e30281a00cb6f083ea481159">
    170170<!ENTITY expat-home "https://libexpat.github.io/">
    171171<!ENTITY expat-fin-du "12 MB">
     
    437437<!ENTITY linux-major-version "5">
    438438<!ENTITY linux-minor-version "16">
    439 <!ENTITY linux-patch-version "12">
     439<!ENTITY linux-patch-version "14">
    440440<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    441441<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    442 <!ENTITY linux-size "124,572 KB">
     442<!ENTITY linux-size "124,584 KB">
    443443<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    444 <!ENTITY linux-md5 "e859941968400c4437bd62b4fe39b7b7">
     444<!ENTITY linux-md5 "e972cda9b33bbd70737bfccb365410f8">
    445445<!ENTITY linux-home "https://www.kernel.org/">
    446446<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    492492<!ENTITY man-pages-fin-sbu "less than 0.1 SBU">
    493493
    494 <!ENTITY markupsafe-version "2.1.0">
     494<!ENTITY markupsafe-version "2.1.1">
    495495<!ENTITY markupsafe-size "20 KB">
    496496<!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">
    498498<!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/">
    499499<!ENTITY markupsafe-fin-du "520 KB">
    500500<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    501501
    502 <!ENTITY meson-version "0.61.2">
    503 <!ENTITY meson-size "1,968 KB">
     502<!ENTITY meson-version "0.61.3">
     503<!ENTITY meson-size "1,965 KB">
    504504<!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">
    506506<!ENTITY meson-home "https://mesonbuild.com">
    507507<!ENTITY meson-fin-du "41 MB">
     
    542542<!ENTITY ninja-fin-sbu "0.2 SBU">
    543543
    544 <!ENTITY openssl-version "3.0.1">
    545 <!ENTITY openssl-size "14,660 KB">
     544<!ENTITY openssl-version "3.0.2">
     545<!ENTITY openssl-size "14,686 KB">
    546546<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    547 <!ENTITY openssl-md5 "7d07e849d77d276891edd579a8832bb3">
     547<!ENTITY openssl-md5 "7f9d43bb7a1e742722cf6d6f40531462">
    548548<!ENTITY openssl-home "https://www.openssl.org/">
    549549<!ENTITY openssl-fin-du "474 MB">
     
    562562<!ENTITY perl-version-major "5">
    563563<!ENTITY perl-version-minor "34">
    564 <!ENTITY perl-version-patch "0">
     564<!ENTITY perl-version-patch "1">
    565565<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
    566566<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
    567 <!ENTITY perl-size "12,580 KB">
     567<!ENTITY perl-size "12,464 KB">
    568568<!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">
    570570<!ENTITY perl-home "https://www.perl.org/">
    571571<!ENTITY perl-tmp-du "272 MB">
     
    730730<!ENTITY util-linux-fin-sbu "1.1 SBU">
    731731
    732 <!ENTITY vim-version "8.2.4489">
     732<!ENTITY vim-version "8.2.4567">
    733733<!ENTITY vim-majmin "82">
    734734<!ENTITY vim-docdir "vim/vim82">
    735 <!ENTITY vim-size "10,380 KB">
     735<!ENTITY vim-size "10,436 KB">
    736736<!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    737737<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz">
    738 <!ENTITY vim-md5 "41e97917fc46d044ffe951c197509efe">
     738<!ENTITY vim-md5 "939fdfad067dec0e67bc4f8ad219cb4e">
    739739<!ENTITY vim-home "https://www.vim.org">
    740740<!ENTITY vim-fin-du "206 MB">
  • patches.ent

    rd9bec1e r02c702c  
    7272<!ENTITY ninja-limit-jobs-patch-size "2.5 KB">
    7373-->
    74 
     74<!--
    7575<!ENTITY perl-fix-patch "perl-&perl-version;-upstream_fixes-1.patch">
    7676<!ENTITY perl-fix-patch-md5 "fb42558b59ed95ee00eb9f1c1c9b8056">
    7777<!ENTITY perl-fix-patch-size "1.6 KB">
     78-->
    7879<!--
    7980<!ENTITY shadow-segfault-patch "shadow-&shadow-version;-useradd_segfault-1.patch">
     
    8889<!ENTITY systemd-upstream-fixes-patch-md5 "71eac6abdad5fba2039dcd011a9ae5b3">
    8990<!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  
    1414# Not needed
    1515#sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE
     16sed -i -e "s/monospace/&\" font-size=\"9pt/g" $FILE
    1617
    1718# Break a block of code at the right place
Note: See TracChangeset for help on using the changeset viewer.