FS#30854 - [dkms] - Add support for users of custom kernels

Attached to Project: Community Packages
Opened by John (graysky) - Wednesday, 25 July 2012, 21:47 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 08 August 2012, 12:01 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: Currently 'linux-headers' is a hardcoded dependency of this package which is not very flexible for those users running custom kernels. I wish I had a patch to submit, but am unsure how to accomplish this. I know custom kernels could add 'linux-headers' to their provides array but am wondering if there is a solution to apply to this package instead.

Thanks!
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Wednesday, 08 August 2012, 12:01 GMT
Reason for closing:  Implemented
Additional comments about closing:  moved deps to optdeps.
Comment by Dave Reisner (falconindy) - Wednesday, 25 July 2012, 22:17 GMT
You already have support. You want to be able to uninstall the stock kernel package.
Comment by Sébastien Luttringer (seblu) - Saturday, 28 July 2012, 00:15 GMT
I use only custom kernel with dkms. If your custom kernel ship headers you must provide linux-headers. Seem to be a sane solution.

The real issue is with linux-lts which doesn't provide linux-headers.

dkms require linux-headers because they are needed to build a module. However, we can remove the deps by convenience. It does not seem to be a solution but a workaround.

I would like the opinion of Thomas and/or Tobias on the issue.
Comment by John (graysky) - Monday, 06 August 2012, 07:39 GMT
Thanks seblu - like to hear what they say. In the meantime, I'll just add "linux-headers=${pkgver}" to the provides array of the custom kernel.

Loading...