[vbox-dev] dkms setup for virtualbox

Sebastian Dransfeld sebastian.dransfeld at gmail.com
Wed Jul 15 11:49:20 GMT 2015


Hi,

When installing virtualbox on Ubuntu I have a small annoyance.

If I install packages in this order:
1. new kernel
2. virtualbox
with no reboot after installing the new kernel.

Then virtualbox will use the current kernel (uname -r) to install the
kernel modules for, not the newly installed kernel.

It seems that the virtualbox package maintaned by ubuntu/debian does not
have this problem. The reason is that the use dh_dkms:
http://manpages.ubuntu.com/manpages/raring/man1/dh_dkms.1.html
when installing the dkms modules. dh_dkms triggers:
/usr/lib/dkms/common.postinst
which searches for all installed kernels and installs the dkms modules for
this.

Can someone please fix this? Or will you accept a patch to fix this problem?

Best regards
Sebastian Dransfeld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150715/c63d44aa/attachment.html>


More information about the vbox-dev mailing list