]> code.ossystems Code Review - openembedded-core.git/commitdiff
udev: remove 'modprobe' local rule
authorJavier Viguera <javier.viguera@digi.com>
Tue, 17 Mar 2015 13:06:50 +0000 (14:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:03:17 +0000 (11:03 +0000)
Since udev version 176 (udev commit 06316d9) udev switched modprobe
explicit rules by the builtin kmod support.

The rule using the builtin kmod support is in
'/lib/udev/rules.d/80-drivers.rules':

DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/udev/udev/local.rules

index 9d4da493f7826de39fca7773c9d03a383c48b20f..d502cdd6ba180b844096fa973428ae7e7d012bf5 100644 (file)
@@ -13,9 +13,6 @@
 # %% the '%' char itself
 #
 
-# Try and modprobe for drivers for new hardware
-ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
-
 # Create a symlink to any touchscreen input device
 # Trigger based on input type, that the evbit (-e) has EV_SYN and EV_ABS,
 # has an EV_ABS value (-a) which is used for touchscreen type devices.