Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
11815
Description
For OFED and ZFS builds the function $(find_linux_release) is used. But it defined in $LBUILD_DIR/lbuild-$DISTRO that is not included in case of build when kernel source tree was given on the command line.
# if an unpacked kernel source tree was given on the command line # just build lustre with it (nothing distro kernel specific here) if [ -n "$LINUX" ]; then build_ofed "${LINUXOBJ:-$LINUX}" "$OFED_VERSION" || fatal 1 "error building OFED" build_lustre "$LINUX" "$LINUXOBJ" else if [ ! -f "${LBUILD_DIR}/lbuild-$DISTRO" ]; then fatal 1 "${LBUILD_DIR}/lbuild-$DISTRO not found" fi source ${LBUILD_DIR}/lbuild-$DISTRO build_with_srpm || fatal 1 "Failed to build_with_srpm" fi