Your message dated Tue, 17 Nov 2009 02:23:33 -0600
with message-id <[email protected]>
and subject line Re: Bug#556551: kernel-package: please allow building of a
DKMS module via make-kpkg
has caused the Debian Bug report #556551,
regarding kernel-package: please allow building of a DKMS module via make-kpkg
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
556551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556551
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 12.025
Severity: wishlist
Hi,
out-of-tree-modules are migrating to a new byzantine format called
DKMS. DKMS-"supporting"-modules cannot be built with make-kpkg
any more which breaks existing setups.
Please consider modifying make-kpkg so that it recognizes both
old-style module source packages and DKMS-style module source packages
and allows building both kinds in a unified way. This would be really
great.
Greetings
Marc
--- End Message ---
--- Begin Message ---
Hi,
On Mon, Nov 16 2009, Marc Haber wrote:
> out-of-tree-modules are migrating to a new byzantine format called
> DKMS. DKMS-"supporting"-modules cannot be built with make-kpkg
> any more which breaks existing setups.
Right, since they do not contain the ./debian/rules bits that
have the debian specific code, that recognized things like KMAINT,
KPKG_DEST_DIR, KPKG_MAINTAINER, etc, and provided the kdist target.
The packaging details live in the package modules rules file, not in
kernel-package, so reproducing that is non trivial.
> Please consider modifying make-kpkg so that it recognizes both
> old-style module source packages and DKMS-style module source packages
> and allows building both kinds in a unified way. This would be really
> great.
This is complex. Firstly, dkms assumes that you already have the
kernel image installed locally (it looks into the symbolic link
/lib/modules/$version/build/ for stuff), which is a totally different
paradigm from kernel-package, that does not assume that the build
machine is the targtet machine at all. This design mismatch makes
integration well nigh impossible.
Secondly, dkms has its own infrastructure -- mktarball adds
things the dkms source tree, and the target has to run ldtarball and
install to get the modules installed, bypassing the packaging system
entirely. Converting these to a properly packaged set of module package
is not trivial, and should not be conflated with ekrnel-package: a
whole new package dedicated to massaging the dkms binaries into debian
packages is the better way to go.
I am closing this report, but I'll reconsider if provided tested
patches ;-)
manoj
--
System restarting, wait...
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--- End Message ---