Package: martian-modem-source
Version: 20080617-1
Severity: normal
Tags: patch
Hi,
Please amend the martian-modem-modules postinst template.
The case for update-devfsd is no longer necessary (devfsd was removed in
#363402) and generated martian-modem-modules-* packages do not run depmod
prior to modprobe.
Geoff
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages martian-modem-source depends on:
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii debhelper 7.4.10 helper programs for debian/rules
ii make 3.81-7 An utility for Directing compilati
Versions of packages martian-modem-source recommends:
ii martian-modem 20080617-1 ltmodem alternative driver providi
ii module-assistant 0.11.1 tool to make module package creati
martian-modem-source suggests no packages.
-- no debconf information
diff -u martian-modem-20080617/debian/martian-modem-modules-_KVERS_.postinst.modules.in martian-modem-20080617/debian/martian-modem-modules-_KVERS_.postinst.modules.in
--- martian-modem-20080617/debian/martian-modem-modules-_KVERS_.postinst.modules.in
+++ martian-modem-20080617/debian/martian-modem-modules-_KVERS_.postinst.modules.in
@@ -18,8 +18,8 @@
case "$1" in
configure)
- if [ -x /usr/sbin/update-devfsd ] ; then
- /usr/sbin/update-devfsd 2>/dev/null || true
+ if [ -e /boot/System.map-_KVERS_ ]; then
+ depmod -a -F /boot/System.map-_KVERS_ _KVERS_ || true
fi
modprobe martian_dev 2>/dev/null || true
;;