FS#30028 - [linux] - addition to linux.install to call dkms if on the target system
Attached to Project:
Arch Linux
Opened by John (graysky) - Saturday, 26 May 2012, 15:49 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 June 2012, 08:03 GMT
Opened by John (graysky) - Saturday, 26 May 2012, 15:49 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 June 2012, 08:03 GMT
|
Details
Description: Attached patch should allow for auto calling of
dkms on kernel update if user has dkms installed. I do not
believe the issues raise in the following are relevant to
this request:
https://bugs.archlinux.org/task/28080
(Patch by naveen). |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 09 June 2012, 08:03 GMT
Reason for closing: Won't implement
Saturday, 09 June 2012, 08:03 GMT
Reason for closing: Won't implement
The name of the dkms package might change, or there could be some other provider (dkms-git?). You're about to call a binary called dkms, so check for a binary available called dkms.
if type -p dkms >/dev/null; then
dkms -k autoinstall $KERNEL_VERSION
fi
That said, I don't think this crap has any place in an install scriptlet.
We don't check on mounted boot nor do we run lilo out of there.
@John: thanks for the feature request and for updating the patch. I felt a further change to ignore errors from dkms would make this more robust. Just to ensure the kernel install never fails due to this. I've attached an updated patch.
In my opinion, this patch puts dkms to its proper use.
Closing as won't implement please open a new task against pacman.