Ignore:
Timestamp:
05/12/2021 04:24:11 AM (3 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
5ed37b3, c034573, df462a9
Parents:
0f7d4cb
Message:

Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r0f7d4cb rd7a9421  
    4848
    4949    <!-- For linux-5.11's API headers changing the rfkill_event structure -->
    50     <para>First, apply a patch to fix some regressions and fix functionality
    51     with future versions of the kernel:</para>
    52 
    53 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-3.patch</userinput></screen>
     50    <para>First, apply a patch to fix some build issues:</para>
     51
     52<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
    5453
    5554    <para>Remove tests that cannot be built in chroot:</para>
    5655
    57 <screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
     56<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
    5857
    5958    <para>Remove an unneeded group,
     
    7776      -Dfirstboot=false             \
    7877      -Dinstall-tests=false         \
    79       -Dkmod-path=/bin/kmod         \
    8078      -Dldconfig=false              \
    81       -Dmount-path=/bin/mount       \
    82       -Drootprefix=                 \
    83       -Drootlibdir=/lib             \
    84       -Dsplit-usr=true              \
    85       -Dsulogin-path=/sbin/sulogin  \
    8679      -Dsysusers=false              \
    87       -Dumount-path=/bin/umount     \
    8880      -Db_lto=false                 \
    8981      -Drpmmacrosdir=no             \
     
    9991
    10092      <varlistentry>
    101         <term><parameter>-D*-path=*</parameter></term>
    102         <listitem>
    103           <para>These switches provide the location of binaries needed by
    104           systemd at runtime that have not yet been installed.</para>
    105         </listitem>
    106       </varlistentry>
    107 
    108       <varlistentry>
    10993        <term><parameter>-Ddefault-dnssec=no</parameter></term>
    11094        <listitem>
     
    137121          distributions such as LFS and makes the boot time longer. Remove it
    138122          if the described feature is desired.</para>
    139         </listitem>
    140       </varlistentry>
    141 
    142       <varlistentry>
    143         <term><parameter>-Droot*</parameter></term>
    144         <listitem>
    145           <para>These switches ensure that core programs and
    146           shared libraries are installed in subdirectories
    147           of the root partition.</para>
    148         </listitem>
    149       </varlistentry>
    150 
    151       <varlistentry>
    152         <term><parameter>-Dsplit-usr=true</parameter></term>
    153         <listitem>
    154           <para>This switch ensures that systemd will work on
    155           systems where /bin, /lib and /sbin directories are not
    156           symlinks to their /usr counterparts.</para>
    157123        </listitem>
    158124      </varlistentry>
     
    258224        <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
    259225        hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
    260         machinectl, networkctl, portablectl, poweroff (symlink to
     226        machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
    261227        systemctl), reboot (symlink to systemctl), resolvconf (symlink to
    262228        resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
    263229        (symlink to systemctl), systemctl, systemd-analyze,
    264230        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
    265         systemd-delta, systemd-detect-virt, systemd-dissect, systemd-escape,
    266         systemd-hwdb, systemd-id128, systemd-inhibit, systemd-machine-id-setup,
     231        systemd-cryptenroll, systemd-delta, systemd-detect-virt,
     232        systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
     233        systemd-inhibit, systemd-machine-id-setup,
    267234        systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
    268235        systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
    269         systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
    270         systemd-tty-ask-password-agent, systemd-umount (symlink to
    271         systemd-mount), telinit (symlink to systemctl), timedatectl, and
    272         udevadm</seg>
     236        systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
     237        systemd-tmpfiles, systemd-tty-ask-password-agent,
     238        systemd-umount (symlink to systemd-mount),
     239        telinit (symlink to systemctl), timedatectl, and udevadm</seg>
    273240        <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
    274241        libnss_resolve.so.2, libnss_systemd.so.2,
    275         libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
     242        libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
    276243        and libudev.so</seg>
    277244        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    278245        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
    279         /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
     246        /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
    280247        /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
    281248        /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
     
    424391      </varlistentry>
    425392
     393      <varlistentry id="oomctl">
     394        <term><command>oomctl</command></term>
     395        <listitem>
     396          <para>Controls the systemd Out Of Memory daemon</para>
     397          <indexterm zone="ch-system-systemd oomctl">
     398            <primary sortas="b-oomctl">oomctl</primary>
     399          </indexterm>
     400        </listitem>
     401      </varlistentry>
     402
    426403      <varlistentry id="portablectl">
    427404        <term><command>portablectl</command></term>
     
    569546      </varlistentry>
    570547
     548      <varlistentry id="systemd-cryptenroll">
     549        <term><command>systemd-cryptenroll</command></term>
     550        <listitem>
     551          <para>Is used to enroll or remove a system from full disk encryption,
     552          as well as set and query private keys and recovery keys</para>
     553          <indexterm zone="ch-system-systemd systemd-cryptenroll">
     554            <primary sortas="b-systemd-cryptenroll">systemd-cryptenroll</primary>
     555          </indexterm>
     556        </listitem>
     557      </varlistentry>
     558
    571559      <varlistentry id="systemd-delta">
    572560        <term><command>systemd-delta</command></term>
     
    740728          <indexterm zone="ch-system-systemd systemd-socket-activate">
    741729            <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
     730          </indexterm>
     731        </listitem>
     732      </varlistentry>
     733
     734      <varlistentry id="systemd-sysext">
     735        <term><command>systemd-sysext</command></term>
     736        <listitem>
     737          <para>Creates, deletes, and manages system extensions through the
     738          systemd-sysextd daemon</para>
     739          <indexterm zone="ch-system-systemd systemd-sysext">
     740            <primary sortas="b-systemd-sysext">systemd-sysext</primary>
    742741          </indexterm>
    743742        </listitem>
Note: See TracChangeset for help on using the changeset viewer.