[Build-common-hackers] Bug#377390: please run dh_installmodules

Frédéric Brière fbriere at fbriere.net
Sun Mar 15 03:44:26 UTC 2009


On Mon, Aug 18, 2008 at 09:02:45PM +0200, Jonas Smedegaard wrote:
> I might be interested in doing a kernel-module.mk snippet for cdbs, and 
> suspect more could be automated than just the inclusion of that dh call.

I think there's a slight misunderstanding here.  Yes, dh_installmodules
can be used by a *-modules package to install modules.  But it can also
be used by regular packages to install stuff in /etc/modprobe.d, and
*that* is the intent of this bug report.

(Unfortunately, most packages don't appear to use dh_installmodules, and
manually copy stuff instead.  Maybe this will change with the coming
modprobe transition[1], which you can just sail through thanks to
debhelper.  It certainly wouldn't hurt if CDBS were to help.)

 [1] <http://lists.debian.org/debian-devel/2009/03/msg00138.html>


As for support for *-modules packages, I did cook up something like that
a long time ago[2].  However, the lukewarm treatment of this bug report
did not inspire me great confidence, so I did not bother seeing this to
the end.

If you're interested, I'd be glad to pull it back from the moth balls,
bring it up to date, and properly document the damn thing.

 [2] <http://git.fbriere.net/cdbs-kernel-module.git/>


-- 
This is Unix we're talking about, remember.  It's not supposed to be
nice for the applications programmer.
		-- Matthew Danish on debian-devel





More information about the Build-common-hackers mailing list