Bug#385454: [Pkg-mythtv-maintainers] Bug#385454: ivtv-source: package provides several unwanted /lib/modules/$KERNEL/modules-files

Michael Prokop mika at grml.org
Thu Aug 31 16:01:33 CEST 2006


* Ian Campbell <ijc at hellion.org.uk> [20060831 15:55]:
> On Thu, 2006-08-31 at 15:27 +0200, Michael Prokop wrote:

> > > I only tested with m-a against a Debian kernel package. I'll try against
> > > a self built kernel now.

> >From the looks of the log this is the cause.

> The kernel.org build system does depmod after install but the
> linux-headers package supplied by Debian doesn't. The depmod creates
> those extra files and the package blindly includes them.

Thanks for clarification.

> Are you in a position to try this simple patch as a fix? If it works
> I'll roll a new package tonight and request an upload from my sponsor.

Sure.

> Index: debian/rules
> ===================================================================
> --- debian/rules	(revision 108)
> +++ debian/rules	(working copy)
> @@ -159,6 +159,7 @@
>  	$(KMAKE) -C i2c-drivers
>  	$(KMAKE) -C driver install DESTDIR=$(CURDIR)/debian/$(PKGNAME)
>  	$(KMAKE) -C i2c-drivers install DESTDIR=$(CURDIR)/debian/$(PKGNAME)
> +	rm debian/$(PKGNAME)/lib/modules/*/modules.*
>  	dh_installmodules 
>  	dh_installdocs
>  	dh_installchangelogs

(Maybe run 'rm -f' to make sure it does not fail if the files aren't
present at all?)

Tested it, works as expected, solves the problem. Thanks.

regards,
-mika-
-- 
 ,'"`.         http://www.michael-prokop.at/
(  grml.org -» Linux Live-CD for texttool-users and sysadmins
 `._,'         http://www.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mythtv-maintainers/attachments/20060831/a8b22024/attachment-0001.pgp


More information about the pkg-mythtv-maintainers mailing list