# build on all distributions, update the BUILD_GEN variable in build/lbuild)
BUILD_GEN+=".0"
-# This distro does not support zfs, so define ZFSNOTSUPPORTED
+# This distro does not support zfs, so define WITH_ZFS
# use words that make the bash log readable.
-ZFSNOTSUPPORTED="Zfs Not Supported"
+WITH_ZFS="Zfs Not Supported"
source ${LBUILD_DIR}/lbuild-sles
find_linux_rpm-sles11() {
local prefix="$1"
local wanted_kernel="$2"
- local pathtorpms=${3:-"${KERNELRPMSBASE}/${lnxmaj}/${DISTRO}/${TARGET_ARCH}"}
+ local pathtorpms=${3:-"$KERNELRPMSBASE/$lnxmaj/$DISTROMAJ/$TARGET_ARCH"}
local PLEV=$(sed -n -e 's/^PATCHLEVEL = //p' /etc/SuSE-release)
local site="https://nu.novell.com/repo/\$RCE/SLES11-SP${PLEV}-Updates/sle-11-$(resolve_arch $TARGET_ARCH)/rpm/$(resolve_arch $TARGET_ARCH)"