Header check ignore --kernelsourcedir
Bug #1838045 reported by
Stefan Bader
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
In Ubuntu 16.04/Xenial the dkms command (2.2.0.
This was fixed upstream in 2.2.0.3-5 and landed in 18.04/Bionic. Proposing to backport the additional line of code into Xenial.
+ [ ! -z "$ksourcedir_
Testcase:
Trying to compile any DKMS module with kernel source (headers) in a non-standard location (/usr/src) will fail with an error reporting missing headers without the change, even using --kernelsourcedir. With the patch applied, this works.
Hello Stefan, or anyone else affected,
Accepted dkms into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ dkms/2. 2.0.3-2ubuntu11 .8 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- xenial to verification- done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- xenial. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.