Ignore:
Timestamp:
10/04/2019 07:22:53 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
12e721d
Parents:
5e009ae
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    r5e009ae r91f763ae  
    4141    <title>Installation of systemd</title>
    4242
    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>
    4747
    4848    <para>Create a symlink to work around missing xsltproc:</para>
     
    7171<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
    7272
    73 <!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
    74 
    7573    <para>Prepare systemd for compilation:</para>
    7674
     
    8078PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
    8179LANG=en_US.UTF-8                   \
    82 CFLAGS+="-Wno-format-overflow"     \
    8380meson --prefix=/usr                \
    8481      --sysconfdir=/etc            \
     
    208205<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
    209206
    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>
    211225
    212226<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.