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/+/54965/
Subject:
LU-17587build: use kernel version from dkms for clientProject: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: c30a6d47c882e0278b4c5090ed72369a43eac425