mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
udev: Use --no-same-owner for man pages, like systemd
By the way, fix a minor formatting issue in udev-hwdb.8.
This commit is contained in:
parent
c7c6c1548a
commit
264a80d60f
@ -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
|
<!-- Please make sure systemd man pages tarball has a common leading
|
||||||
component in the path. -->
|
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*' \
|
-C /usr/share/man --wildcards '*/udev*' '*/libudev*' \
|
||||||
'*/systemd-'{hwdb,udevd.service}.8
|
'*/systemd-'{hwdb,udevd.service}.8
|
||||||
sed 's/systemd\(\\\?-\)/udev-/' /usr/share/man/man8/systemd-hwdb.8 \
|
sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \
|
||||||
> /usr/share/man/man8/udev-hwdb.8
|
> /usr/share/man/man8/udev-hwdb.8
|
||||||
sed 's|lib.*udevd|sbin/udevd|' \
|
sed 's|lib.*udevd|sbin/udevd|' \
|
||||||
/usr/share/man/man8/systemd-udevd.service.8 \
|
/usr/share/man/man8/systemd-udevd.service.8 \
|
||||||
> /usr/share/man/man8/udevd.8
|
> /usr/share/man/man8/udevd.8
|
||||||
|
Loading…
Reference in New Issue
Block a user