dkms calls udevtrigger, should try new udevadm trigger first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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-
commit 9c8add81b7e69eb
Author: Matt Domsch <email address hidden>
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_
+ if [ -x /sbin/udevadm -a "${kernelver_
+ /sbin/udevadm trigger
+ elif [ -x /sbin/udevtrigger -a "${kernelver_
fi
This bug was fixed in the package dkms - 2.0.17.6-0ubuntu1
---------------
dkms (2.0.17.6-0ubuntu1) hardy; urgency=low
[ Matt Domsch ]
* Correct kernel uninstall trigger (LP: #192240)
* Call udevadm trigger if present, fall back to udevtrigger (LP: #192241)
* Fix uninstallation with weak modules (Red Hat BZ#429410)
* debian/control:
- Update standards version to 3.7.3
- Add Vcs-git repository.
-- Mario Limonciello <email address hidden> Mon, 18 Feb 2008 09:40:18 -0600