X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=build%2Flbuild-rhel5;h=111f816a9b854cb70b9a93dba9219a79d2f8921b;hb=1279a4e68f17e5406954d3592120dfa4ad9d6293;hp=6190fcd5ae4c43b06a8ce805a317924b230ea4b5;hpb=1d95408cfbacf7462314325996d3cdf087764266;p=fs%2Flustre-release.git diff --git a/build/lbuild-rhel5 b/build/lbuild-rhel5 index 6190fcd..111f816 100644 --- a/build/lbuild-rhel5 +++ b/build/lbuild-rhel5 @@ -7,6 +7,10 @@ # distributions, update the BUILD_GEN variable in build/lbuild) BUILD_GEN+=".0" +# This distro does not support zfs, so define ZFSNOTSUPPORTED +# use words that make the bash log readable. +ZFSNOTSUPPORTED="Zfs Not Supported" + source ${0%/*}/lbuild-rhel SPEC_NAME="kernel-2.6.spec" @@ -28,6 +32,7 @@ Patch99995: linux-%{kversion}-lustre.patch' \ -e '/_sourcedir\/kabitool -b \./a\ cp $RPM_BUILD_ROOT/kabi_whitelist $RPM_SOURCE_DIR/kabi_whitelist_%{_target_cpu}$Flavour' \ -e '/^%prep$/,/^# END OF PATCH APPLICATIONS$/s/kernel-%{kversion}/%{name}-%{kversion}/g' \ + -e 's/^\(%define signmodules \).*/\10/' \ SPECS/$SPEC_NAME 2>&1 || \ fatal 1 "Error while editing SPECS/$SPEC_NAME" @@ -111,6 +116,6 @@ find_linux_rpm-rhel5() { kernel_srpm_location() { - echo "http://mirror.centos.org/centos-5/5/updates/SRPMS/" + echo "http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/" }