[Pkg-dkms-commits] [SCM] Maintenance of the dkms package branch, upstream-repo/master, updated. 157d3664c7f7e4d3ae389563456561a32a9ccc8a

Mario Limonciello Mario_Limonciello at Dell.com
Sat Jan 31 12:45:15 UTC 2009


The following commit has been merged in the upstream-repo/master branch:
commit fa830463d5341e38f4a50f35b5dbef773ade1a09
Author: Mario Limonciello <Mario_Limonciello at Dell.com>
Date:   Mon Jan 26 11:42:06 2009 -0600

    remove references to udevtrigger.

diff --git a/dkms b/dkms
index 2b1c08e..eccd84e 100755
--- a/dkms
+++ b/dkms
@@ -367,8 +367,6 @@ function read_conf ()
     CLEAN=""
     REMAKE_INITRD=""
     remake_initrd=""
-    UDEV_TRIGGER=""
-    udev_trigger="no"
     PACKAGE_NAME=""
     PACKAGE_VERSION=""
     POST_ADD=""
@@ -579,9 +577,6 @@ function read_conf ()
     # Set remake_initrd
     [ `echo "$REMAKE_INITRD" | grep -ic "^y"` -gt 0 ] && remake_initrd="yes"
 
-    # Set udev_trigger
-    [ `echo "$UDEV_TRIGGER" | grep -ic "^n"` -gt 0 ] && udev_trigger="no"
-
     # Set build_exclude
     if [ -n "$BUILD_EXCLUSIVE_KERNEL" ]; then
 	echo $1 | egrep -q "$BUILD_EXCLUSIVE_KERNEL" || build_exclude="yes"
@@ -1297,13 +1292,6 @@ function install_module()
 	fi
     fi
 
-    # Notify udev if we installed something for the currently running kernel as long as UDEV_TRIGGER is not set to no
-    if [ "${udev_trigger}" == "yes" -a -x /sbin/udevadm -a "${kernelver_array[0]}" == "$(uname -r)" -a "${arch_array[0]}" == "$(uname -m)" ]; then
-       /sbin/udevadm trigger
-    elif [ "${udev_trigger}" == "yes" -a -x /sbin/udevtrigger -a "${kernelver_array[0]}" == "$(uname -r)" -a "${arch_array[0]}" == "$(uname -m)" ]; then
-	/sbin/udevtrigger
-    fi
-
     echo $""
     echo $"DKMS: install Completed."
 }

-- 
Maintenance of the dkms package



More information about the Pkg-dkms-commits mailing list