Package: debhelper
Version: 5.0.42
Severity: minor

Hi,

dh_installmodules(1) says:

 Kernel modules are searched for in the package build directory and if
 found, postinst and postrm commands are automatically generated to run
 depmod and register the modules when the package is installed. See
 dh_installdeb(1) for an explanation of how this works.

Not really caring for the detailed explanation (the gist of which I'm
long familiar with, or thought I was), only for the postinst scripts,
I missed the implication here that they will _not_ be installed if
dh_installdeb is not also called (and hence the detail that I wasn't
already calling it in the existing binary-modules target).

Apparently, I'm not the only one to do this:
http://lists.debian.org/debian-mentors/2006/12/msg00072.html

Perhaps a few extra words, emphasising that dh_installdeb _must_ be
called if you wish the maintainer scripts to be installed, will save
more mail on this subject in the future.  I know that in hindsight
its all fairly obvious, but usually I only need to know the gritty
details of dh_* operations for a few hours every few months, when I
create some new package, so a well placed reminder would certainly
be welcome here.  Even if I don't forget this one again, I'd give
you pretty good odds that someone else will.

Cheers!
Ron


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to