Public bug reported:

When I upgrade kernel with `apt` command,
this module built with wrong kernel header path.

If I use `4.10.0-20-generic` kernel version and I update `4.10.0-27-generic`,
dkms still use head path of `4.10.0-20-generic` for building.

I suggest to fix this way.

dkms.conf
MAKE="'make' all"
=>
MAKE="'make' all KVER=$kernelver"

Makefile 822 line
KVER  := $(shell uname -r)
=>
KVER  ?= $(shell uname -r)

** Affects: rtl8812au (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Wrong build when kernel upgrade (about kernel header path)

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

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

Reply via email to