Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31581 - [virtualbox-source] DKMS support is wrongly implemented

Attached to Project: Community Packages
Opened by Peter Wu (Lekensteyn) - Monday, 17 September 2012, 16:59 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 18 September 2012, 18:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The virtualbox-source package provides DKMS support. It does so by installing all sources in /var/lib/dkms/vboxhost/4.1.22/source which circumvents the dkms tool completely.

This causes issues when trying to rebuild virtualbox for a custom kernel using:

dkms remove -m vboxhost -v 4.1.22 # removes /var/lib/dkms/vboxhost!
dkms build -m vboxhost -v 4.1.22 # fails
dkms install -m vboxhost -v 4.1.22

After running `dkms remove`, pacman -Qkq virtualbox-source reports the files as missing too.

dkms expects the source in /usr/src, so why not put it there and run the relevant dkms commands in post-inst/pre-rm?

Additional info:
* package version: 4.1.22
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 18 September 2012, 18:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.2.0-2
Comment by Sébastien Luttringer (seblu) - Monday, 17 September 2012, 17:25 GMT
You're right!

Loading...