summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev/files/udev-115-fix-modprobe-calls.diff')
-rw-r--r--sys-fs/udev/files/udev-115-fix-modprobe-calls.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-fs/udev/files/udev-115-fix-modprobe-calls.diff b/sys-fs/udev/files/udev-115-fix-modprobe-calls.diff
new file mode 100644
index 000000000000..20b2bd800b16
--- /dev/null
+++ b/sys-fs/udev/files/udev-115-fix-modprobe-calls.diff
@@ -0,0 +1,23 @@
+Index: udev-git/etc/udev/gentoo/30-kernel-compat.rules
+===================================================================
+--- udev-git.orig/etc/udev/gentoo/30-kernel-compat.rules
++++ udev-git/etc/udev/gentoo/30-kernel-compat.rules
+@@ -34,13 +34,13 @@ SUBSYSTEM!="scsi_device", GOTO="kernel_c
+ # sr: 4 TYPE_WORM, 5 TYPE_ROM
+ # st/osst: 1 TYPE_TAPE
+
+- ATTRS{type}=="0|7|14", RUN+="modprobe.sh sd_mod"
+- ATTRS{type}=="4|5", RUN+="modprobe.sh sr_mod"
+- ATTRS{type}=="8", RUN+="modprobe.sh ch"
++ ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
++ ATTRS{type}=="4|5", RUN+="/sbin/modprobe sr_mod"
++ ATTRS{type}=="8", RUN+="/sbin/modprobe ch"
+
+ ATTRS{type}=="1", ATTRS{vendor}=="On[sS]tream", \
+- ATTRS{model}!="ADR*", RUN+="modprobe.sh osst", GOTO="kernel_compat_end"
+- ATTRS{type}=="1", RUN+="modprobe.sh st"
++ ATTRS{model}!="ADR*", RUN+="/sbin/modprobe osst", GOTO="kernel_compat_end"
++ ATTRS{type}=="1", RUN+="/sbin/modprobe st"
+
+ LABEL="kernel_compat_end"
+