systemd: Add --no-same-owner for man page extraction

Well, I forgot to create the man pages tarball as root, so if we don't
use --no-same-owner the man pages will be owned by UID 1000 :(.

Instead of regenerating the tarball again let's just fix this in the
book.
This commit is contained in:
Xi Ruoyao 2023-07-29 09:53:44 +08:00
parent 7dcd8c782b
commit 57f16783ed
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -192,7 +192,9 @@ meson setup \
<!-- 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>
<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-version;.tar.xz \
--no-same-owner --strip-components=1 \
-C /usr/share/man</userinput></screen>
<para>Create the <filename>/etc/machine-id</filename> file needed by
<command>systemd-journald</command>:</para>