Package: module-assistant Version: 0.10.6 Hi,
> > #!/bin/sh > > set -e > > > > SYSTEMMAP=/boot/System.map-_KVERS_ > > > > if [ -f $SYSTEMMAP ] ; then > > depmod -ae -F $SYSTEMMAP _KVERS_ > > elif [ "`uname -r`" = "_KVERS_" ] ; then > > depmod -a & > > fi > > As of debhelper 5.0.37, dh_installmodules uses the System.map for the > target kernel as per template, iirc. No maintainer provided script > templates are required for this purpose if dh_installmodules is used. Something like this? diff -ur module-assistant-0.10.6/templates/debian/control module-assistant-0.10.7/templates/debian/control --- module-assistant-0.10.6/templates/debian/control 2005-04-10 08:14:26.000000000 +0900 +++ module-assistant-0.10.7/templates/debian/control 2006-07-28 07:45:08.000000000 +0900 @@ -2,7 +2,7 @@ Section: misc Priority: optional Maintainer: Eduard Bloch <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), bzip2 +Build-Depends: debhelper (>= 5.0.37), bzip2 Standards-Version: 3.6.1 Package: someproject-utils diff -ur module-assistant-0.10.6/templates/debian/postinst.modules.in module-assistant-0.10.7/templates/debian/postinst.modules.in --- module-assistant-0.10.6/templates/debian/postinst.modules.in 2005-04-10 08:22:15.000000000 +0900 +++ module-assistant-0.10.7/templates/debian/postinst.modules.in 2006-07-28 07:40:58.000000000 +0900 @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -if [ "`uname -r`" = "_KVERS_" ]; then - /sbin/depmod -a -fi - -#DEBHELPER# - -exit 0 diff -ur module-assistant-0.10.6/templates/debian/rules module-assistant-0.10.7/templates/debian/rules --- module-assistant-0.10.6/templates/debian/rules 2005-04-10 08:14:26.000000000 +0900 +++ module-assistant-0.10.7/templates/debian/rules 2006-07-28 07:40:33.000000000 +0900 @@ -99,6 +99,7 @@ dh_installchangelogs dh_compress dh_fixperms + dh_installmodules dh_installdeb dh_gencontrol -- -v$(VERSION) dh_md5sums regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]