From 185e6c2b2f521c9018a7446f73c29ac811fdd514 Mon Sep 17 00:00:00 2001 From: TTtie Date: Sat, 18 Jun 2022 13:35:44 +0000 Subject: [PATCH] Fix DKMS building for incorrect versions This commit fixes an issue where the module is built using the currently running kernel version instead of the new one when a DKMS build is triggered. --- dkms.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkms.conf b/dkms.conf index 61a96fa..8b6834c 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,6 +1,6 @@ PACKAGE_NAME="nct6687d" PACKAGE_VERSION="1" -MAKE[0]="make dkms/build" +MAKE[0]="make kver=${kernelver} dkms/build" BUILT_MODULE_NAME[0]="nct6687" DEST_MODULE_LOCATION[0]="/kernel/drivers/hwmon/" AUTOINSTALL="yes"