* Ian Campbell <[EMAIL PROTECTED]> [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/
pgpH3wNBIxkxW.pgp
Description: PGP signature

