Changeset 0aaf6a31 for chapter06/systemd.xml
- Timestamp:
- 03/31/2021 10:41:36 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 9c31d62
- Parents:
- d7f58cc
- git-author:
- Thomas Trepl <thomas@…> (10/04/2019 07:22:53 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:36 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
rd7f58cc r0aaf6a31 41 41 <title>Installation of systemd</title> 42 42 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> 47 47 48 48 <para>Create a symlink to work around missing xsltproc:</para> … … 71 71 <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen> 72 72 73 <!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->74 75 73 <para>Prepare systemd for compilation:</para> 76 74 … … 80 78 PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \ 81 79 LANG=en_US.UTF-8 \ 82 CFLAGS+="-Wno-format-overflow" \83 80 meson --prefix=/usr \ 84 81 --sysconfdir=/etc \ … … 208 205 <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen> 209 206 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> 211 225 212 226 <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.