FS#28080 - [linux] Package kernel modules with dkms

Attached to Project: Arch Linux
Opened by Fabian Homborg (alfa) - Tuesday, 24 January 2012, 13:02 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 02 February 2012, 13:21 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Kernel modules like nvidia or virtualbox should be packaged with [dkms](http://linux.dell.com/dkms/) (in community).

This allows for easier kernel upgrades since no rebuild of those packages is needed, and therefore the user doesn't have to download them again.

[dkms-nvidia](http://aur.archlinux.org/packages.php?ID=45738) demonstrates how to do this.


NOTE: This would be easier if pacman allowed for hooks, but still the linux installscript could contain something like

[[ -f /usr/sbin/dkms ]] && dkms autoinstall -k ${1}

which will fail on some modules because the makefiles use "uname -r" and will therefore only build for the current kernel.
This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 02 February 2012, 13:21 GMT
Reason for closing:  Won't implement
Comment by Thomas Bächler (brain0) - Thursday, 02 February 2012, 13:21 GMT
This doesn't track the actual module file with pacman, but uses post_upgrade to create it. It also requires gcc to be installed on every user's system. This is completely unsuitable for Arch.

Loading...