Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
None
-
None
-
3
-
9223372036854775807
Description
1) Make the common config/lustre-lnet.m4 do more check for o2iblnd path.
2) The common config/lustre-lnet.m4 is the unified way to check o2iblnd path on both rhel and debian so remove the duplicated code. as below:
lustre/scripts/dkms.mkconf: ... flavor=\$(echo \$kernelver | tr '-' '\\n' | tail -1) if grep -F -q '.' <<< \$flavor ; then flavor=default; fi ... if [ -d /usr/src/ofa_kernel/\${flavor} ]; then OPTS="\${OPTS} --with-o2ib=/usr/src/ofa_kernel/\${flavor}" elif [ -d /usr/src/ofa_kernel/default ]; then OPTS="\${OPTS} --with-o2ib=/usr/src/ofa_kernel/default" fi ...