diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-05-29 12:19:56 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-05-29 12:29:20 +0800 |
commit | b4008bb22c0acee98eeff5f6f94feb6f5750af2e (patch) | |
tree | 973e95965c49916ac75a1dd2dc12489396e980ec /chapter08/systemd.xml | |
parent | 0d7dbaf24c714f272193aec650e42dd18783b867 (diff) |
update to systemd-251 (#5064)
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r-- | chapter08/systemd.xml | 14 |
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> |