Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
The dkms build for lustre-client is partially broken. It will always build the module against the running version of the kernel, not the version specified by dkms. The fix seems to be pretty easy:
diff --git a/lustre-dkms_pre-build.sh b/lustre-dkms_pre-build.sh index ce298cb763..54f9cc40af 100755 --- a/lustre-dkms_pre-build.sh +++ b/lustre-dkms_pre-build.sh @@ -22,7 +22,7 @@ case $1 in lustre-client) SERVER="--disable-server" - KERNEL_STUFF="" + KERNEL_STUFF="--with-linux=$4 --with-linux-obj=$4" ;; lustre-zfs|lustre-all)