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)
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54830/
Subject:
LU-17587build: use kernel version from dkms for clientProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: aa76ae0c21a7e315ecb1fded82f2c793aa26f78c