Public bug reported:

Binary package hint: dkms

New udev has a program udevadm, which takes as argument 'trigger'.  This
should be invoked instead of the older udevtrigger program.  Keybuck
fixed this for Ubuntu, and I backported that fix onto the upstream
package and made it backwards-compatible as well.

commit 9c8add81b7e69ebf156bce1f4e5d47f9b5ff0da9
Author: Matt Domsch <[EMAIL PROTECTED]>
Date:   Fri Feb 15 09:26:42 2008 -0600

    call udevadm trigger instead of udevtrigger for newer udev

diff --git a/dkms b/dkms
index c9b07c7..53f34d9 100755
--- a/dkms
+++ b/dkms
@@ -1248,7 +1248,9 @@ function install_module()
     fi

     # Notify udev if we installed something for the currently running kernel
-    if [ -x /sbin/udevtrigger -a "${kernelver_array[0]}" == "$(uname -r)" -a 
"${arch_array[0]}" == "$(uname -m)" ]; then
+    if [ -x /sbin/udevadm -a "${kernelver_array[0]}" == "$(uname -r)" -a 
"${arch_array[0]}" == "$(uname -m)" ]; then
+       /sbin/udevadm trigger
+    elif [ -x /sbin/udevtrigger -a "${kernelver_array[0]}" == "$(uname -r)" -a 
"${arch_array[0]}" == "$(uname -m)" ]; then
        /sbin/udevtrigger
     fi

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dkms calls udevtrigger, should try new udevadm trigger first
https://bugs.launchpad.net/bugs/192241
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to