aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/systemd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r--chapter08/systemd.xml14
1 files changed, 3 insertions, 11 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 43e1cea6c..f207e74c2 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -40,16 +40,6 @@
<sect2 role="installation">
<title>Installation of systemd</title>
- <para>First, apply a patch to fix a security vulnerability and regressions
- with hostnames and idle units:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
-
- <para>Now, apply a patch to fix a problem with the linux kernel's headers in
- version 5.17 and later:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch</userinput></screen>
-
<para>Remove two unneeded groups,
<systemitem class="groupname">render</systemitem> and
<systemitem class="groupname">sgx</systemitem>, from the default udev
@@ -185,7 +175,9 @@ meson --prefix=/usr \
<para>Install the man pages:</para>
-<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man</userinput></screen>
+ <!-- Please make sure systemd man pages tarball has a common leading
+ component in the path. -->
+<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
<para>Remove a useless directory:</para>