Package: module-assistant
Version: 0.10.11
Severity: normal
Tags: patch

Hello,

The "templates" example runs dh_installmodules after dh_installdeb.
This causes the postinst and postrm scripts generated by
dh_installmodules (which basically run 'depmod -a') not to be included
in the generated package.  Thus, packages which start from these
templates generate modules packages which don't run 'depmod -a' after
installation, which results in the modules not being immediately
loadable.

Regards,
John

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages module-assistant depends on:
ii  libtext-wrapi18n-perl         0.06-5     internationalized substitute of Te
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages module-assistant recommends:
ii  liblocale-gettext-perl        1.05-1     Using libc functions for internati

-- no debconf information
diff -r df430c11e20e -r 852a282eb460 templates/debian/rules
--- a/templates/debian/rules	Thu Jan 31 13:04:24 2008 -0700
+++ b/templates/debian/rules	Thu Jan 31 13:05:27 2008 -0700
@@ -99,8 +99,8 @@ binary-modules: kdist_config
 	dh_installchangelogs
 	dh_compress
 	dh_fixperms
+	dh_installmodules
 	dh_installdeb
-	dh_installmodules
 	dh_gencontrol -- -v$(VERSION)
 	dh_md5sums
 	dh_builddeb --destdir=$(DEB_DESTDIR)

Reply via email to