mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
udev: Fix install command for ../rules.d/*.rules
The sed command has changed ../rules.d/70-power-switch.rules to "../rules.d", causing the install command to fail. Change the command enumerating ../rules.d/*.rules but 70-power-switch.rules to a "find" command. Edit another "find" command so the styles of them are the same.
This commit is contained in:
parent
798e18b09f
commit
4bc51b9067
@ -139,11 +139,11 @@ install -vm644 src/libudev/*.pc /usr/lib/pkgconfig/
|
||||
install -vm644 src/udev/*.pc /usr/share/pkgconfig/
|
||||
install -vm644 ../src/udev/udev.conf /etc/udev/
|
||||
install -vm644 rules.d/* ../rules.d/README /usr/lib/udev/rules.d/
|
||||
install -vm644 $(echo ../rules.d/*.rules | \
|
||||
sed 's/70-power-switch.rules//') /usr/lib/udev/rules.d/
|
||||
install -vm644 $(find ../rules.d/*.rules \
|
||||
-not -name '*power-switch*') /usr/lib/udev/rules.d/
|
||||
install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
|
||||
install -vm755 $(find src/udev -type f \
|
||||
-not -name '*.*') /usr/lib/udev</userinput></screen>
|
||||
install -vm755 $(find src/udev \
|
||||
-type f -not -name '*.*') /usr/lib/udev</userinput></screen>
|
||||
|
||||
<para>Install some custom rules and support files useful in an LFS
|
||||
environment:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user