Changeset f7c33596


Ignore:
Timestamp:
06/26/2022 11:17:17 AM (22 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
e4d72ed
Parents:
100ca4e (diff), bfc6495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into xry111/clfs-ng

Files:
26 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r100ca4e rf7c33596  
    152152                     $(RENDERTMP)/lfs-full.xml
    153153
    154 wget-list: $(BASEDIR)/wget-list
     154wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
    155155$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
    156156                      packages.ent patches.ent general.ent
    157157        @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
    158158        $(Q)mkdir -p $(BASEDIR)
    159 
    160 #       $(Q)xsltproc --nonet --xinclude                    \
    161 #                --stringparam profile.revision $(REV) \
    162 #                --output $(RENDERTMP)/sysd-wget.xml   \
    163 #                stylesheets/lfs-xsl/profile.xsl       \
    164 #                chapter03/chapter03.xml
    165 
    166159        $(Q)xsltproc --xinclude --nonet            \
    167160                --output $(BASEDIR)/wget-list \
    168161                     stylesheets/wget-list.xsl     \
    169162                chapter03/chapter03.xml
     163
     164$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
     165                             chapter03/chapter03.xml \
     166                             packages.ent patches.ent general.ent
     167        $(Q)xsltproc --nonet --xinclude                   \
     168                --stringparam profile.revision $(REV) \
     169                --output $(RENDERTMP)/wget-list.xml   \
     170                stylesheets/lfs-xsl/profile.xsl       \
     171                chapter03/chapter03.xml
     172        $(Q)xsltproc --xinclude --nonet                  \
     173                --output $(BASEDIR)/wget-list-$(REV) \
     174                stylesheets/wget-list.xsl            \
     175                $(RENDERTMP)/wget-list.xml
    170176
    171177md5sums: $(BASEDIR)/md5sums
     
    175181        $(Q)mkdir -p $(BASEDIR)
    176182
    177         $(Q)xsltproc --nonet --xinclude                    \
     183        $(Q)xsltproc --nonet --xinclude                   \
    178184                --stringparam profile.revision $(REV) \
    179                 --output $(RENDERTMP)/sysv-md5sum.xml \
     185                --output $(RENDERTMP)/md5sum.xml      \
    180186                stylesheets/lfs-xsl/profile.xsl       \
    181187                chapter03/chapter03.xml
    182188
    183         $(Q)xsltproc --xinclude --nonet          \
     189        $(Q)xsltproc --xinclude --nonet         \
    184190                --output $(BASEDIR)/md5sums \
    185191                stylesheets/md5sum.xsl      \
    186                 $(RENDERTMP)/sysv-md5sum.xml
     192                $(RENDERTMP)/md5sum.xml
    187193        $(Q)sed -i -e \
    188194       "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
  • appendices/dependencies.xml

    r100ca4e rf7c33596  
    245245        <segtitle>&dependencies;</segtitle>
    246246        <seglistitem>
    247           <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make</seg>
     247          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Readline</seg>
    248248        </seglistitem>
    249249      </segmentedlist>
     
    26162616        <segtitle>&before;</segtitle>
    26172617        <seglistitem>
    2618           <seg>Bash and Gawk</seg>
     2618          <seg>Bash, Bc, and Gawk</seg>
    26192619        </seglistitem>
    26202620      </segmentedlist>
  • bootscripts/lfs/init.d/cleanfs

    r100ca4e rf7c33596  
    106106      evaluate_retval
    107107
    108       if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
     108      if grep -E -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
    109109         log_info_msg "Creating files and directories... "
    110110         create_files      # Always returns 0
  • bootscripts/lfs/init.d/modules

    r100ca4e rf7c33596  
    3636      # valid entries
    3737      [ -r /etc/sysconfig/modules ]             || exit 0
    38       egrep -qv '^($|#)' /etc/sysconfig/modules || exit 0
     38      grep -E -qv '^($|#)' /etc/sysconfig/modules || exit 0
    3939
    4040      log_info_msg "Loading modules:"
  • chapter01/changelog.xml

    r100ca4e rf7c33596  
    4242
    4343    <listitem>
     44      <para>2022-06-14</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[bdubbs] - Update to python3-3.10.5. Fixes
     48          <ulink url="&lfs-ticket-root;5070">#5070</ulink>.</para>
     49        </listitem>
     50        <listitem>
     51          <para>[bdubbs] - Update to meson-0.62.2. Fixes
     52          <ulink url="&lfs-ticket-root;5068">#5068</ulink>.</para>
     53        </listitem>
     54        <listitem>
     55          <para>[bdubbs] - Update to kbd-2.5.0. Fixes
     56          <ulink url="&lfs-ticket-root;5067">#5067</ulink>.</para>
     57        </listitem>
     58        <listitem>
     59          <para>[bdubbs] - Update to file-5.42. Fixes
     60          <ulink url="&lfs-ticket-root;5072">#5072</ulink>.</para>
     61        </listitem>
     62        <listitem>
     63          <para>[bdubbs] - Update to linux-5.18.3. Fixes
     64          <ulink url="&lfs-ticket-root;5069">#5069</ulink>.</para>
     65        </listitem>
     66        <listitem>
     67          <para>[bdubbs] - Update to bc-5.3.1. Fixes
     68          <ulink url="&lfs-ticket-root;5071">#5071</ulink>.</para>
     69        </listitem>
     70      </itemizedlist>
     71    </listitem>
     72
     73    <listitem>
     74      <para>2022-05-29</para>
     75      <itemizedlist>
     76        <listitem>
     77          <para>[bdubbs] - Update to iana-etc-20220524.
     78          Addresses <ulink url="&lfs-ticket-root;5006">#5006</ulink>.</para>
     79        </listitem>
     80        <listitem>
     81          <para>[bdubbs] - Update to iproute2-5.18.0.  Fixes
     82          <ulink url="&lfs-ticket-root;5065">#5065</ulink>.</para>
     83        </listitem>
     84        <listitem>
     85          <para>[bdubbs] - Update to linux-5.18.1.  Fixes
     86          <ulink url="&lfs-ticket-root;5061">#5061</ulink>.</para>
     87        </listitem>
     88        <listitem>
     89          <para>[bdubbs] - Update to perl-5.36.0.  Fixes
     90          <ulink url="&lfs-ticket-root;5066">#5066</ulink>.</para>
     91        </listitem>
     92      </itemizedlist>
     93    </listitem>
     94
     95    <listitem>
     96      <para>2022-05-29</para>
     97      <itemizedlist>
     98        <listitem>
     99          <para>[xry111] - Update to vim-8.2.5014 (security fixes).
     100          Addresses <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
     101        </listitem>
     102        <listitem>
     103          <para>[xry111] - Update to ninja-1.11.0.  Fixes
     104          <ulink url="&lfs-ticket-root;5062">#5062</ulink>.</para>
     105        </listitem>
     106        <listitem>
     107          <para>[xry111] - Update to systemd-251.  Fixes
     108          <ulink url="&lfs-ticket-root;5064">#5064</ulink>.</para>
     109        </listitem>
     110      </itemizedlist>
     111    </listitem>
     112
     113    <listitem>
     114      <para>2022-05-16</para>
     115      <itemizedlist>
     116        <listitem>
     117          <para>[bdubbs] - Update to linux-5.17.7.  Fixes
     118          <ulink url="&lfs-ticket-root;5059">#5059</ulink>.</para>
     119        </listitem>
     120        <listitem>
     121          <para>[bdubbs] - Update to psmisc-23.5.  Fixes
     122          <ulink url="&lfs-ticket-root;5060">#5060</ulink>.</para>
     123        </listitem>
     124      </itemizedlist>
     125    </listitem>
     126
     127    <listitem>
    44128      <para>2022-05-01</para>
    45129      <itemizedlist>
  • chapter01/whatsnew.xml

    r100ca4e rf7c33596  
    8181       <para>Expect-&expect-version;</para>
    8282    </listitem>-->
    83    <!--<listitem>
     83    <listitem>
    8484       <para>File-&file-version;</para>
    85     </listitem>-->
     85    </listitem>
    8686    <!--<listitem>
    8787      <para>Findutils-&findutils-version;</para>
     
    123123      <para>Gzip-&gzip-version;</para>
    124124    </listitem>
    125     <!--<listitem>
     125    <listitem>
    126126      <para>IANA-Etc-&iana-etc-version;</para>
    127     </listitem>-->
     127    </listitem>
    128128    <!--<listitem>
    129129      <para>Inetutils-&inetutils-version;</para>
     
    138138      <para>Jinja2-&jinja2-version;</para>
    139139    </listitem>
    140     <!--<listitem>
     140    <listitem>
    141141      <para>Kbd-&kbd-version;</para>
    142     </listitem>-->
     142    </listitem>
    143143    <!--<listitem>
    144144      <para>Kmod-&kmod-version;</para>
     
    195195      <para>Ncurses-&ncurses-version;</para>
    196196    </listitem>-->
    197     <!--<listitem>
     197    <listitem>
    198198      <para>Ninja-&ninja-version;</para>
    199     </listitem>-->
     199    </listitem>
    200200    <listitem>
    201201      <para>Openssl-&openssl-version;</para>
     
    213213      <para>Procps-ng-&procps-ng-version;</para>
    214214    </listitem>
    215     <!--<listitem>
     215    <listitem>
    216216      <para>Psmisc-&psmisc-version;</para>
    217     </listitem>-->
     217    </listitem>
    218218    <listitem>
    219219      <para>Python-&python-version;</para>
     
    231231      <para>Sysklogd-&sysklogd-version;</para>
    232232    </listitem>-->
    233     <!--<listitem revision="systemd">
     233    <listitem revision="systemd">
    234234      <para>Systemd-&systemd-version;</para>
    235     </listitem>-->
     235    </listitem>
    236236    <listitem revision="sysv">
    237237      <para>SysVinit-&sysvinit-version;</para>
     
    299299      <para>perl-5.34.0-upstream_fixes-1.patch</para>
    300300    </listitem>
     301    <listitem>
     302      <para>systemd-250-kernel_5.17_fixes-1.patch</para>
     303    </listitem>
     304    <listitem>
     305      <para>systemd-250-upstream_fixes-1.patch</para>
     306    </listitem>
    301307
    302308  </itemizedlist>
  • chapter03/introduction.xml

    r100ca4e rf7c33596  
    8080
    8181  <para>To download all of the packages and patches by using
    82   <ulink url="../wget-list">wget-list</ulink> as an input to the
    83   <command>wget</command> command, use:</para>
     82  <ulink url="../&wget-list;">&wget-list;</ulink>
     83  as an input to the <command>wget</command> command, use:</para>
    8484
    85 <screen role="nodump"><userinput>wget --input-file=wget-list --continue --directory-prefix=$LFS/sources</userinput></screen>
    86 
     85<screen role="nodump"><userinput>wget --input-file=&wget-list; --continue --directory-prefix=$LFS/sources</userinput></screen>
     86<!--
    8787  <note><para>
    8888    The <filename>wget-list</filename> file mentioned above retrieves all
     
    9292    current book.
    9393  </para></note>
    94 
     94-->
    9595  <para>Additionally, starting with LFS-7.0, there is a separate file,
    9696  <ulink url="../md5sums">md5sums</ulink>, which can be used to verify that all
  • chapter03/patches.xml

    r100ca4e rf7c33596  
    136136    </varlistentry>
    137137
    138     <varlistentry revision="systemd">
    139       <term>Systemd Upstream Fixes Patch - <token>&systemd-upstream-fixes-patch-size;</token>:</term>
    140       <listitem>
    141         <para>Download: <ulink url="&patches-root;&systemd-upstream-fixes-patch;"/></para>
    142         <para>MD5 sum: <literal>&systemd-upstream-fixes-patch-md5;</literal></para>
    143       </listitem>
    144     </varlistentry>
    145 
    146     <varlistentry revision="systemd">
    147       <term>Systemd Kernel Fixes Patch - <token>&systemd-kernel-fixes-patch-size;</token>:</term>
    148       <listitem>
    149         <para>Download: <ulink url="&patches-root;&systemd-kernel-fixes-patch;"/></para>
    150         <para>MD5 sum: <literal>&systemd-kernel-fixes-patch-md5;</literal></para>
    151       </listitem>
    152     </varlistentry>
    153 
    154138    <varlistentry>
    155139      <term>Xz Upstream Fix Patch - <token>&xz-upstream-fix-patch-size;</token>:</term>
  • chapter06/ncurses.xml

    r100ca4e rf7c33596  
    135135echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
    136136
     137    <para>Remove an unneeded static library not handled by
     138    <command>configure</command>:</para>
     139
     140<screen><userinput remap="install">rm -v $LFS/usr/lib/libncurses++w.a</userinput></screen>
     141
    137142    <variablelist>
    138143      <title>The meaning of the install options:</title>
  • chapter07/creatingdirs.xml

    r100ca4e rf7c33596  
    1313  <para>It is time to create the full structure in the LFS file system.</para>
    1414
     15  <note><para>Some of the directories mentioned in this section may be
     16  already created earlier with explicit instructions or when installing some
     17  packages.  They are repeated below for completeness.</para></note>
     18
    1519  <para>Create some root-level directories that are not in the limited set
    1620    required in the previous chapters by issuing the following command:</para>
    17 
    18   <note><para>Some of the directories below have already been created earlier
    19   with explicit instructions or when installing some packages.  They are
    20   repeated below for completeness.</para></note>
    2121
    2222<screen><userinput>mkdir -pv /{boot,home,mnt,opt,srv}</userinput></screen>
  • chapter08/bc.xml

    r100ca4e rf7c33596  
    4444    <para>Prepare Bc for compilation:</para>
    4545
    46 <screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3</userinput></screen>
     46<screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3 -r</userinput></screen>
    4747
    4848    <variablelist>
     
    5757
    5858      <varlistentry>
     59        <term><parameter>-G</parameter></term>
     60        <listitem>
     61          <para>Omit parts of the test suite that won't work
     62          without a GNU bc present.</para>
     63        </listitem>
     64      </varlistentry>
     65
     66      <varlistentry>
    5967        <term><parameter>-O3</parameter></term>
    6068        <listitem>
     
    6472
    6573      <varlistentry>
    66         <term><parameter>-G</parameter></term>
     74        <term><parameter>-r</parameter></term>
    6775        <listitem>
    68           <para>Omit  parts of the test suite that won't work
    69           without a GNU bc present.</para>
     76          <para>Enable the use of <application>Readline</application> to
     77          improve the line editing feature of bc.</para>
    7078        </listitem>
    7179      </varlistentry>
  • chapter08/binutils.xml

    r100ca4e rf7c33596  
    174174
    175175<screen><userinput remap="test">make -k check</userinput></screen>
    176 <!--
    177     <para>Four tests related to zlib are known to fail.</para>
    178 -->
    179 <!--
    180     <para>Seven gold tests are known to fail with gcc-11.1.0</para>
    181 
    182     <para>Four ld tests named <quote>Run property ...</quote> are known to
    183     fail.</para>
    184  -->
     176
     177    <!-- Will be fixed in 2.39
     178         https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01ae03b -->
     179    <para>One gold test, <filename>pr17704a_test</filename>, is known to
     180    fail if <parameter>CONFIG_IA32_EMULATION</parameter> is disabled in the
     181    kernel configuration of the host system.</para>
     182
    185183    <para>Install the package:</para>
    186184
  • chapter08/check.xml

    r100ca4e rf7c33596  
    9393
    9494      <varlistentry id="libcheck">
    95         <term><filename class="libraryfile">libcheck.{a,so}</filename></term>
     95        <term><filename class="libraryfile">libcheck.so</filename></term>
    9696        <listitem>
    9797          <para>Contains functions that allow Check to be called from a test
  • chapter08/coreutils.xml

    r100ca4e rf7c33596  
    137137    <para>The test-getlogin test is known to fail in the LFS chroot environment.</para>
    138138-->
     139<!-- should be fixed at next release, coreutils-9.2 -->
     140    <para>The sort-NaN-infloop test is known to fail with GCC-12.</para>
     141
    139142    <para>Remove the temporary group:</para>
    140143
  • chapter08/dbus.xml

    r100ca4e rf7c33596  
    5757            --disable-xml-docs                   \
    5858            --docdir=/usr/share/doc/dbus-&dbus-version; \
    59             --with-console-auth-dir=/run/console \
    6059            --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
    6160
    6261    <variablelist>
    6362      <title>The meaning of the configure options:</title>
    64 
    65       <varlistentry>
    66         <term><parameter>--with-console-auth-dir=/run/console</parameter></term>
    67         <listitem>
    68           <para>This specifies the location of the ConsoleKit authorization
    69           directory.</para>
    70         </listitem>
    71       </varlistentry>
    7263
    7364      <varlistentry>
  • chapter08/glibc.xml

    r100ca4e rf7c33596  
    175175
    176176      <listitem>
    177         <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
    178         test is known to fail on relatively slow systems due to an internal
     177        <para>Some tests, for example
     178        <emphasis>nss/tst-nss-files-hosts-multi</emphasis>,
     179        are known to fail on relatively slow systems due to an internal
    179180        timeout.</para>
     181      </listitem>
     182
     183      <!--
     184        https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2022-06/msg00022.html
     185        https://sourceware.org/pipermail/libc-alpha/2022-June/139839.html
     186      -->
     187      <listitem>
     188        <para>About 27 tests, for example <emphasis>elf/tst-pldd</emphasis>,
     189        are known to fail if the kernel supports namespaces (see
     190        <filename>namespaces(7)</filename> for details) but the host distro
     191        has disabled them via sysctl.</para>
    180192      </listitem>
    181193<!--
  • chapter08/grep.xml

    r100ca4e rf7c33596  
    7878        <term><command>egrep</command></term>
    7979        <listitem>
    80           <para>Prints lines matching an extended regular expression</para>
     80          <para>Prints lines matching an extended regular expression.
     81          It is obsoleted, use <command>grep -E</command> instead</para>
    8182          <indexterm zone="ch-system-grep egrep">
    8283            <primary sortas="b-egrep">egrep</primary>
     
    8889        <term><command>fgrep</command></term>
    8990        <listitem>
    90           <para>Prints lines matching a list of fixed strings</para>
     91          <para>Prints lines matching a list of fixed strings.
     92          It is obsoleted, use <command>grep -F</command> instead</para>
    9193          <indexterm zone="ch-system-grep fgrep">
    9294            <primary sortas="b-fgrep">fgrep</primary>
  • chapter08/openssl.xml

    r100ca4e rf7c33596  
    8282      <para>
    8383        You should update OpenSSL when a new version which fixes vulnerabilities
    84         is announced. The releases run in series, with a letter for each release
    85         after the initial release (e.g. 1.1.1, 1.1.1a, 1.1.1b, etc). Because LFS
    86         installs only the shared libraries, there is no need to recompile packages
    87         which link to <filename class="libraryfile">libcrypto.so</filename> or
     84        is announced.  Since OpenSSL 3.0.0, the OpenSSL versioning scheme
     85        follows the MAJOR.MINOR.PATCH format.  API/ABI compatibility
     86        are guaranteed for the same MAJOR version number.  Because LFS
     87        installs only the shared libraries, there is no need to recompile
     88        packages which link to
     89        <filename class="libraryfile">libcrypto.so</filename> or
    8890        <filename class="libraryfile">libssl.so</filename>
    89         <emphasis>when upgrading in the same series.</emphasis>
     91        <emphasis>when upgrading to a version with MAJOR version number
     92        unchanged</emphasis>.
    9093      </para>
    9194
     
    133136        <listitem>
    134137          <para>
    135             is a <application>Perl</application> script that scans all files in
    136             a directory and adds symbolic links to their hash values
     138            is a <application>Perl</application> script that
     139            scans all files in a directory and adds symbolic links to their
     140            hash values.  Use of <command>c_rehash</command> is considered
     141            obsolete and should be replaced by
     142            <command>openssl rehash</command> command
    137143          </para>
    138144          <indexterm zone="ch-system-openssl c_rehash">
  • chapter08/stripping.xml

    r100ca4e rf7c33596  
    4343  <note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
    4444  and ld-linux.so.2 on 32-bit systems.  The construct below selects the
    45   correct name for the current architecture.</para></note>
     45  correct name for the current architecture, excluding anything ending
     46  with <quote>g</quote>, in case the commands below have already been
     47  run.</para></note>
    4648
    4749<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
    4850
    4951<!--<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*)
     52<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
    5153             libc.so.6
    5254             libthread_db.so.1
  • chapter08/systemd.xml

    r100ca4e rf7c33596  
    4141    <title>Installation of systemd</title>
    4242
    43     <para>First, apply a patch to fix a security vulnerability and regressions
    44     with hostnames and idle units:</para>
    45 
    46 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
    47 
    48     <para>Now, apply a patch to fix a problem with the linux kernel's headers in
    49     version 5.17 and later:</para>
    50 
    51 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch</userinput></screen>
    52 
    5343    <para>Remove two unneeded groups,
    5444    <systemitem class="groupname">render</systemitem> and
     
    6555
    6656meson --prefix=/usr                 \
    67       --sysconfdir=/etc             \
    68       --localstatedir=/var          \
    6957      --buildtype=release           \
    70       -Dblkid=true                  \
    7158      -Ddefault-dnssec=no           \
    7259      -Dfirstboot=false             \
     
    7461      -Dldconfig=false              \
    7562      -Dsysusers=false              \
    76       -Db_lto=false                 \
    7763      -Drpmmacrosdir=no             \
    7864      -Dhomed=false                 \
     
    8066      -Dman=false                   \
    8167      -Dmode=release                \
     68      -Dpamconfdir=no               \
    8269      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    8370      ..</userinput></screen>
     
    174161      </varlistentry>
    175162
     163      <varlistentry>
     164        <term><parameter>-Dpamconfdir=no</parameter></term>
     165        <listitem>
     166          <para>Prevent the installation of a PAM configuration file not
     167          functional on LFS.</para>
     168        </listitem>
     169      </varlistentry>
    176170    </variablelist>
    177171
     
    186180    <para>Install the man pages:</para>
    187181
    188 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man</userinput></screen>
    189 
    190     <para>Remove a useless directory:</para>
    191 
    192 <screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
     182    <!-- Please make sure systemd man pages tarball has a common leading
     183         component in the path.  -->
     184<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
    193185
    194186    <para>Create the <filename>/etc/machine-id</filename> file needed by
     
    200192
    201193<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
     194
     195    <para>Disable a service for upgrading binary distros.  It's useless for
     196    a basic Linux system built from source, and it will report an error if
     197    it's enabled but not configured:</para>
     198
     199<screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen>
    202200
    203201<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
  • chapter09/introduction.xml

    r100ca4e rf7c33596  
    3232    <para>The <command>init</command> program is controlled by the
    3333    <filename>/etc/inittab</filename> file and is organized into run levels that
    34     can be run by the user:</para>
     34    can be run by the user. In LFS, they are used as follows:</para>
    3535
    3636<literallayout>0 &mdash; halt
    37371 &mdash; Single user mode
    38 2 &mdash; Multiuser, without networking
     382 &mdash; User definable
    39393 &mdash; Full multiuser mode
    40404 &mdash; User definable
  • chapter09/networkd.xml

    r100ca4e rf7c33596  
    2727    of a static <filename>/etc/resolv.conf</filename> file. Both services are
    2828    enabled by default.</para>
     29
     30    <note>
     31      <para>
     32        If you will not use <command>systemd-networkd</command> for network
     33        configuration (for example, when the system is not connected to
     34        network, or you want to use another utility like NetworkManager
     35        for network configuration), disable a service to prevent an error
     36        message during boot:
     37      </para>
     38      <screen role='nodump'><userinput>systemctl disable systemd-networkd-wait-online</userinput></screen>
     39    </note>
    2940
    3041    <para>Configuration files for <command>systemd-networkd</command> (and
  • chapter09/usage.xml

    r100ca4e rf7c33596  
    3232    each one of those corresponds to the actions the computer is supposed to
    3333    perform when it starts up. The default run-level is 3. Here are the
    34     descriptions of the different run-levels as they are implemented:</para>
     34    descriptions of the different run-levels as they are implemented in LFS:</para>
    3535
    3636<literallayout>0: halt the computer
  • general.ent

    r100ca4e rf7c33596  
    7373]]>
    7474
     75<![ %sysv; [
     76<!ENTITY wget-list       "wget-list-sysv">
     77]]>
     78<![ %systemd; [
     79<!ENTITY wget-list       "wget-list-systemd">
     80]]>
     81
    7582<!ENTITY lfs-root        "https://www.linuxfromscratch.org/">
    7683<!ENTITY blfs-root       "&lfs-root;blfs/">
  • packages.ent

    r100ca4e rf7c33596  
    5959<!ENTITY bash-fin-sbu "1.5 SBU">
    6060
    61 <!ENTITY bc-version "5.2.5">
    62 <!ENTITY bc-size "428 KB">
     61<!ENTITY bc-version "5.3.1">
     62<!ENTITY bc-size "434 KB">
    6363<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
    64 <!ENTITY bc-md5 "7b154ecc65aa07164c09de9fd88c7fc6">
     64<!ENTITY bc-md5 "10dbd6425f22987ad7ea6d68d55f3680">
    6565<!ENTITY bc-home "https://git.yzena.com/gavin/bc">
    6666<!ENTITY bc-fin-du "7.1 MB">
     
    180180<!ENTITY expect-tmp-sbu "0.2 SBU">
    181181
    182 <!ENTITY file-version "5.41">
    183 <!ENTITY file-size "1040 KB">
     182<!ENTITY file-version "5.42">
     183<!ENTITY file-size "1,080 KB">
    184184<!ENTITY file-url "https://astron.com/pub/file/file-&file-version;.tar.gz">
    185 <!ENTITY file-md5 "18233bb0a0089dfdc7dfbc93b96f231b">
     185<!ENTITY file-md5 "4d4f70c3b08a8a70d8baf67f085d7e92">
    186186<!ENTITY file-home "https://www.darwinsys.com/file/">
    187187<!ENTITY file-tmp-du "32 MB">
     
    323323<!ENTITY gzip-fin-sbu "0.1 SBU">
    324324
    325 <!ENTITY iana-etc-version "20220207">
    326 <!ENTITY iana-etc-size "580 KB">
     325<!ENTITY iana-etc-version "20220524">
     326<!ENTITY iana-etc-size "582 KB">
    327327<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    328 <!ENTITY iana-etc-md5 "81d865ce7fe4240d5abed48c3ca5fa9f">
     328<!ENTITY iana-etc-md5 "a79e10f6c520a237a28522a25a7a4496">
    329329<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    330330<!ENTITY iana-etc-fin-du "4.7 MB">
     
    348348<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    349349
    350 <!ENTITY iproute2-version "5.17.0">
    351 <!ENTITY iproute2-size "851 KB">
     350<!ENTITY iproute2-version "5.18.0">
     351<!ENTITY iproute2-size "860 KB">
    352352<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    353 <!ENTITY iproute2-md5 "8ade96ee93f37fba7e1beec89f1a54bf">
     353<!ENTITY iproute2-md5 "f666bab8ccf9c972938a0c0d8a4e6a68">
    354354<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    355355<!ENTITY iproute2-fin-du "15 MB">
     
    366366<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    367367
    368 <!ENTITY kbd-version "2.4.0">
    369 <!ENTITY kbd-size "1,095 KB">
     368<!ENTITY kbd-version "2.5.0">
     369<!ENTITY kbd-size "1,456 KB">
    370370<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
    371 <!ENTITY kbd-md5 "3cac5be0096fcf7b32dcbd3c53831380">
     371<!ENTITY kbd-md5 "9b739cfd88e854f23d906d1990341fda">
    372372<!ENTITY kbd-home "https://kbd-project.org/">
    373373<!ENTITY kbd-fin-du "33 MB">
     
    431431
    432432<!ENTITY linux-major-version "5">
    433 <!ENTITY linux-minor-version "17">
    434 <!ENTITY linux-patch-version "5">
     433<!ENTITY linux-minor-version "18">
     434<!ENTITY linux-patch-version "3">
    435435<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    436436<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    437 <!ENTITY linux-size "125,421 KB">
     437<!ENTITY linux-size "126,817 KB">
    438438<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    439 <!ENTITY linux-md5 "2d9d725a716d27c82ea31d2b4e802158">
     439<!ENTITY linux-md5 "a8db20740f7398af70543a645a4cd7ae">
    440440<!ENTITY linux-home "https://www.kernel.org/">
    441441<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    497497<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    498498
    499 <!ENTITY meson-version "0.62.1">
    500 <!ENTITY meson-size "1,988 KB">
     499<!ENTITY meson-version "0.62.2">
     500<!ENTITY meson-size "1,991 KB">
    501501<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
    502 <!ENTITY meson-md5 "2f5301d0e7fd5544ab0004393ba44cbe">
     502<!ENTITY meson-md5 "e6521b43730901bdd67afa2adefa64a3">
    503503<!ENTITY meson-home "https://mesonbuild.com">
    504504<!ENTITY meson-fin-du "41 MB">
     
    531531<!ENTITY ncurses-fin-sbu "0.4 SBU">
    532532
    533 <!ENTITY ninja-version "1.10.2">
    534 <!ENTITY ninja-size "209 KB">
     533<!ENTITY ninja-version "1.11.0">
     534<!ENTITY ninja-size "228 KB">
    535535<!ENTITY ninja-url "&github;/ninja-build/ninja/archive/v&ninja-version;/ninja-&ninja-version;.tar.gz">
    536 <!ENTITY ninja-md5 "639f75bc2e3b19ab893eaf2c810d4eb4">
     536<!ENTITY ninja-md5 "7d1a1a2f5cdc06795b3054df5c17d5ef">
    537537<!ENTITY ninja-home "https://ninja-build.org/">
    538538<!ENTITY ninja-fin-du "64 MB">
     
    558558
    559559<!ENTITY perl-version-major "5">
    560 <!ENTITY perl-version-minor "34">
    561 <!ENTITY perl-version-patch "1">
     560<!ENTITY perl-version-minor "36">
     561<!ENTITY perl-version-patch "0">
    562562<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
    563563<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
    564 <!ENTITY perl-size "12,464 KB">
     564<!ENTITY perl-size "12,746 KB">
    565565<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
    566 <!ENTITY perl-md5 "7d2ece7f50775ea1ff739831935a24bd">
     566<!ENTITY perl-md5 "826e42da130011699172fd655e49cfa2">
    567567<!ENTITY perl-home "https://www.perl.org/">
    568568<!ENTITY perl-tmp-du "272 MB">
     
    587587<!ENTITY procps-ng-fin-sbu "0.4 SBU">
    588588
    589 <!ENTITY psmisc-version "23.4">
    590 <!ENTITY psmisc-size "362 KB">
     589<!ENTITY psmisc-version "23.5">
     590<!ENTITY psmisc-size "395 KB">
    591591<!ENTITY psmisc-url "https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-&psmisc-version;.tar.xz">
    592 <!ENTITY psmisc-md5 "8114cd4489b95308efe2509c3a406bbf">
     592<!ENTITY psmisc-md5 "014f0b5d5ab32478a2c57812ad01e1fb">
    593593<!ENTITY psmisc-home "https://gitlab.com/psmisc/psmisc">
    594594<!ENTITY psmisc-fin-du "5.6 MB">
     
    598598     meson pages will be needed: python3.6 and python3.6m -->
    599599
    600 <!ENTITY python-version "3.10.4">
     600<!ENTITY python-version "3.10.5">
    601601<!ENTITY python-minor "3.10">
    602 <!ENTITY python-size "18,890 KB">
     602<!ENTITY python-size "18,908 KB">
    603603<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    604 <!ENTITY python-md5 "21f2e113e087083a1e8cf10553d93599">
     604<!ENTITY python-md5 "f05727cb3489aa93cd57eb561c16747b">
    605605<!ENTITY python-home "https://www.python.org/">
    606606<!ENTITY python-tmp-du "359 MB">
     
    609609<!ENTITY python-fin-sbu "4.3 SBU">
    610610<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    611 <!ENTITY python-docs-md5 "f5dce93c8149e45324d87c5e05e5fcb9">
    612 <!ENTITY python-docs-size "7,098 KB">
     611<!ENTITY python-docs-md5 "46a8c3285c6ca87736bc9aad2d8519ba">
     612<!ENTITY python-docs-size "7,112 KB">
    613613
    614614<!ENTITY readline-version "8.1.2">
     
    647647<!ENTITY sysklogd-fin-sbu "less than 0.1 SBU">
    648648
    649 <!ENTITY systemd-version  "250">
     649<!ENTITY systemd-version  "251">
    650650<!--<!ENTITY systemd-stable   "6b4878d">-->
    651651<!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel
    652652     change that is incompatible, we will switch to the backport branch until the next stable release. -->
    653 <!ENTITY systemd-size     "10,856 KB">
     653<!ENTITY systemd-size     "11,168 KB">
    654654<!ENTITY systemd-url      "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
    655655<!--<!ENTITY systemd-url      "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
    656 <!ENTITY systemd-md5      "8929beb037c587ada4ed201f19756fe2">
     656<!ENTITY systemd-md5      "8090fcccc3a2ec20995e89d56fed61b1">
    657657<!ENTITY systemd-home     "https://www.freedesktop.org/wiki/Software/systemd/">
    658 <!ENTITY systemd-man-version "250">
     658<!ENTITY systemd-man-version "251">
    659659<!ENTITY systemd-man-size "596 KB">
    660660<!--<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
    661661<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz">
    662 <!ENTITY systemd-man-md5  "af3aca39abe4e990cb2a9ac63dcdf506">
     662<!ENTITY systemd-man-md5  "87053ffef1cfb74e4fe28f627e12a2a4">
    663663<!ENTITY systemd-fin-du   "273 MB">
    664664<!ENTITY systemd-fin-sbu  "2.2 SBU">
     
    729729<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
    730730
    731 <!ENTITY vim-version "8.2.4814">
     731<!ENTITY vim-version "8.2.5014">
    732732<!ENTITY vim-majmin "82">
    733733<!ENTITY vim-docdir "vim/vim82">
    734 <!ENTITY vim-size "10,486 KB">
     734<!ENTITY vim-size "10,568 KB">
    735735<!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    736736<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz">
    737 <!ENTITY vim-md5 "3ffc16fd72de90ab72f7d94dee30a806">
     737<!ENTITY vim-md5 "5b27e59fa53b74611422af6fa4149957">
    738738<!ENTITY vim-home "https://www.vim.org">
    739739<!ENTITY vim-fin-du "206 MB">
  • patches.ent

    r100ca4e rf7c33596  
    8686<!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
    8787
    88 <!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
    89 <!ENTITY systemd-upstream-fixes-patch-md5 "71eac6abdad5fba2039dcd011a9ae5b3">
    90 <!ENTITY systemd-upstream-fixes-patch-size "20 KB">
    91 
    92 <!ENTITY systemd-kernel-fixes-patch "systemd-&systemd-version;-kernel_5.17_fixes-1.patch">
    93 <!ENTITY systemd-kernel-fixes-patch-md5 "34cee987b35d5d522fd3317e08057c1d">
    94 <!ENTITY systemd-kernel-fixes-patch-size "2.7 KB">
    95 
    9688<!ENTITY xz-upstream-fix-patch "xz-&xz-version;-upstream_fix-1.patch">
    9789<!ENTITY xz-upstream-fix-patch-md5 "584c72ea3d8f7502b2770670f3090788">
Note: See TracChangeset for help on using the changeset viewer.