Skip to content

Commit

Permalink
fix(systemd-udev): use global vars instead of fixed path
Browse files Browse the repository at this point in the history
  • Loading branch information
johannbg authored and haraldh committed Apr 30, 2021
1 parent 851a801 commit fd883a5
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions modules.d/01systemd-udevd/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,35 +30,35 @@ depends() {
install() {

inst_multiple -o \
/usr/lib/udev/hwdb.bin \
/usr/lib/udev/udev.conf \
/usr/lib/udev/rules.d/50-udev-default.rules \
/usr/lib/udev/rules.d/60-autosuspend.rules \
/usr/lib/udev/rules.d/60-block.rules \
/usr/lib/udev/rules.d/60-cdrom_id.rules \
/usr/lib/udev/rules.d/60-drm.rules \
/usr/lib/udev/rules.d/60-evdev.rules \
/usr/lib/udev/rules.d/60-fido-id.rules \
/usr/lib/udev/rules.d/60-input-id.rules \
/usr/lib/udev/rules.d/60-persistent-alsa.rules \
/usr/lib/udev/rules.d/60-persistent-input.rules \
/usr/lib/udev/rules.d/60-persistent-storage-tape.rules \
/usr/lib/udev/rules.d/60-persistent-storage.rules \
/usr/lib/udev/rules.d/60-persistent-v4l.rules \
/usr/lib/udev/rules.d/60-sensor.rules \
/usr/lib/udev/rules.d/60-serial.rules \
/usr/lib/udev/rules.d/64-btrfs.rules \
/usr/lib/udev/rules.d/70-joystick.rules \
/usr/lib/udev/rules.d/70-memory.rules \
/usr/lib/udev/rules.d/70-mouse.rules \
/usr/lib/udev/rules.d/70-touchpad.rules \
/usr/lib/udev/rules.d/75-net-description.rules \
/usr/lib/udev/rules.d/75-probe_mtd.rules \
/usr/lib/udev/rules.d/78-sound-card.rules \
/usr/lib/udev/rules.d/80-drivers.rules \
/usr/lib/udev/rules.d/80-net-setup-link.rules \
/usr/lib/udev/rules.d/81-net-dhcp.rules \
/usr/lib/udev/rules.d/99-systemd.rules \
"$udevdir"/hwdb.bin \
"$udevdir"/udev.conf \
"$udevrulesdir"/50-udev-default.rules \
"$udevrulesdir"/60-autosuspend.rules \
"$udevrulesdir"/60-block.rules \
"$udevrulesdir"/60-cdrom_id.rules \
"$udevrulesdir"/60-drm.rules \
"$udevrulesdir"/60-evdev.rules \
"$udevrulesdir"/60-fido-id.rules \
"$udevrulesdir"/60-input-id.rules \
"$udevrulesdir"/60-persistent-alsa.rules \
"$udevrulesdir"/60-persistent-input.rules \
"$udevrulesdir"/60-persistent-storage-tape.rules \
"$udevrulesdir"/60-persistent-storage.rules \
"$udevrulesdir"/60-persistent-v4l.rules \
"$udevrulesdir"/60-sensor.rules \
"$udevrulesdir"/60-serial.rules \
"$udevrulesdir"/64-btrfs.rules \
"$udevrulesdir"/70-joystick.rules \
"$udevrulesdir"/70-memory.rules \
"$udevrulesdir"/70-mouse.rules \
"$udevrulesdir"/70-touchpad.rules \
"$udevrulesdir"/75-net-description.rules \
"$udevrulesdir"/75-probe_mtd.rules \
"$udevrulesdir"/78-sound-card.rules \
"$udevrulesdir"/80-drivers.rules \
"$udevrulesdir"/80-net-setup-link.rules \
"$udevrulesdir"/81-net-dhcp.rules \
"$udevrulesdir"/99-systemd.rules \
"$systemdutildir"/systemd-udevd \
"$systemdsystemunitdir"/systemd-udevd.service \
"$systemdsystemunitdir/systemd-udevd.service.d/*.conf" \
Expand All @@ -77,9 +77,9 @@ install() {
# Install the hosts local user configurations if enabled.
if [[ $hostonly ]]; then
inst_multiple -H -o \
/etc/udev/hwdb.bin \
/etc/udev/udev.conf \
"/etc/udev/rules.d/*.rules" \
"$udevconfdir"/hwdb.bin \
"$udevconfdir"/udev.conf \
"$udevrulesconfdir/*.rules" \
"$systemdutilconfdir"/hwdb/hwdb.bin \
"$systemdsystemconfdir"/systemd-udevd.service \
"$systemdsystemconfdir/systemd-udevd.service.d/*.conf" \
Expand Down

0 comments on commit fd883a5

Please sign in to comment.