From 36590689d86134199937e8400cde4baa7c28a446 Mon Sep 17 00:00:00 2001 From: "robert.read" Date: Fri, 24 Apr 2009 23:26:11 +0000 Subject: [PATCH] Branch HEAD b=16312 Revert cause of build failure. --- build/lbuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/lbuild b/build/lbuild index 3e4e0cd..93d62a5 100755 --- a/build/lbuild +++ b/build/lbuild @@ -369,6 +369,7 @@ download_srpm() { local target=$1 local srpm=$2 + # ~sigh~ the download site doesn't actually have these kernels echo "Downloading http://downloads.lustre.org/public/kernels/$target/old/$srpm..." if ! wget -nv "http://downloads.lustre.org/public/kernels/$target/old/$srpm" \ -O "$KERNELDIR/$srpm"; then @@ -658,11 +659,8 @@ build_lustre() { echo NORPM mode. Only compiling. fi - if $PATCHLESS; then - rpmbuildopt="$rpmbuildopt --define \"lustre_name lustre-client\"" - fi - $RPMBUILD $targets $rpmbuildopt ../lustre.spec \ + ${PATCHLESS:+--define "lustre_name lustre-client"} \ --define "_tmppath $TMPDIR" \ --define "_topdir $TOPDIR" || \ fatal 1 "Error building rpms for $BUILD_ARCHS." -- 1.8.3.1