[Pkg-dkms-maint] Bug#762061: virtualbox-dkms fails to build on standard 3.14.15 kernel

Ben Hutchings ben at decadent.org.uk
Thu Sep 18 16:13:18 UTC 2014


On Thu, 2014-09-18 at 21:04 +0530, Ritesh Raj Sarraf wrote:
> Control: reassign -1 dkms
> Control: retitle -1 dkms should pull in the correct linux-headers package
> 
> 
> Thanks Ben. Omar: This bug is specific to dkms. That package should pull 
> in the correct linux-headers package (based on the architecture), which 
> is required to build the virtualbox-dkms package.

But it cannot do this by declaring dependencies.  Unfortunately it is
also impossible to install the right package using APT, when building
during installation of another package.

What I think it should do is to check that /lib/modules/$KVERS/build
exists and is not a dangling symlink, and if not then prompt to install
linux-headers-$KVERS.  (This should be a file test rather than a package
test, so it works with unpackaged kernel installations.)  Installation
of linux-headers-$KVERS package should then trigger building all
installed DKMS module sources via DKMS's postinst hook.

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20140918/9e3b59b8/attachment.sig>


More information about the Pkg-dkms-maint mailing list