aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 9ba24ded5..8f6d1287e 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -40,10 +40,10 @@
<sect2 role="installation">
<title>Installation of systemd</title>
- <para>First, apply a patch to fix issues with systemd-networkd on Linux 5.2+
- kernels, as well as with AMD Ryzen CPUs:</para>
+ <para>First, apply a patch to fix issues with udev and evdev
+ device node assignment:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch</userinput></screen>
<para>Create a symlink to work around missing xsltproc:</para>
@@ -70,8 +70,6 @@ done</userinput></screen>
<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
-<!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
-
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build
@@ -79,7 +77,6 @@ cd build
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
LANG=en_US.UTF-8 \
-CFLAGS+="-Wno-format-overflow" \
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -207,6 +204,10 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
+ <para>Setup the basic target structure:</para>
+
+<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
+
<para>Remove symbolic links to Util-Linux libraries:</para>
<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>