diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-09-11 21:50:21 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-09-11 21:50:21 +0000 |
commit | 661449eb197a485886cbd2cf3a169b40da5615a7 (patch) | |
tree | 823934b5714021bd3e5a343681d6466a8df34d8e /sys-fs/udev/files/udev-115-fix-modprobe-calls.diff | |
parent | Version bump to latest gworkspace including this package (diff) | |
download | historical-661449eb197a485886cbd2cf3a169b40da5615a7.tar.gz historical-661449eb197a485886cbd2cf3a169b40da5615a7.tar.bz2 historical-661449eb197a485886cbd2cf3a169b40da5615a7.zip |
No longer use modprobe-wrapper, that should fix bug 191813 and other breakages caused by our wrapper. This also removes auto-blacklisting of modules that get loaded by modules.autoload. It will break blacklisting of some special aliased modules like pcspkr until bug 192201 is fixed. Now also run persistent-net rules when coldplug is disabled, bug 191466.
Package-Manager: portage-2.1.3.9
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.diff | 23 |
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" + |