diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-08-03 10:10:11 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-08-03 10:10:11 +0800 |
commit | 264a80d60fe1938d94718c6e3f353c5e4e27e1cb (patch) | |
tree | 09bd83e80d9430a1c5b2524ac031622193dfd63e /chapter08/udev.xml | |
parent | c7c6c1548a055aeba377ab2ec1dd100042b91da7 (diff) |
udev: Use --no-same-owner for man pages, like systemd
By the way, fix a minor formatting issue in udev-hwdb.8.
Diffstat (limited to 'chapter08/udev.xml')
-rw-r--r-- | chapter08/udev.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter08/udev.xml b/chapter08/udev.xml index 67e835afc..35bb12f46 100644 --- a/chapter08/udev.xml +++ b/chapter08/udev.xml @@ -147,11 +147,12 @@ make -f &udev-lfs-version;/Makefile.lfs install</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 \ +<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz \ + --no-same-owner --strip-components=1 \ -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ '*/systemd-'{hwdb,udevd.service}.8 -sed 's/systemd\(\\\?-\)/udev-/' /usr/share/man/man8/systemd-hwdb.8 \ - > /usr/share/man/man8/udev-hwdb.8 +sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ + > /usr/share/man/man8/udev-hwdb.8 sed 's|lib.*udevd|sbin/udevd|' \ /usr/share/man/man8/systemd-udevd.service.8 \ > /usr/share/man/man8/udevd.8 |