** Description changed:

  In Ubuntu 16.04/Xenial the dkms command (2.2.0.3-2ubuntu11.7) ignores
  the provided kernel source directory and then fails by not finding the
  headers.
  
  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_fromcli" ] && DIR=$kernel_source_dir
+ 
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838045

Title:
  Header check ignore --kernelsourcedir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1838045/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to