EXTERNAL_PATCHES=
EXTRA_VERSION=
STAGEDIR=
+TMPDIR=${TMPDIR:-"/var/tmp"}
# from target file
KERNEL=
done
$RPMBUILD $targets -bb lustre-kernel-2.4.spec \
+ --define "_tmpdir $TMPDIR" \
--define "_topdir $TOPDIR" || \
fatal 1 "Error building rpms for $BUILD_ARCHS."
if (( $DO_SRC )) ; then
$RPMBUILD -bs lustre-kernel-2.4.spec \
+ --define "_tmpdir $TMPDIR" \
--define "_topdir $TOPDIR" || \
fatal 1 "Error building .src.rpm."
fi
./configure "--with-linux=${LINUX}" ${CONFIGURE_FLAGS}
$RPMBUILD $targets -bb build/lustre.spec \
+ --define "_tmpdir $TMPDIR" \
--define "_topdir $TOPDIR" || \
fatal 1 "Error building rpms for $BUILD_ARCHS."
TARGET_CONFIG=
JOBS=1
CONFIGURE_FLAGS=
+TMPDIR=${TMPDIR:-"/var/tmp"}
# commands to run
BUILD_LUSTRE=0
< build/lustre.spec.in \
> build/lustre.spec
$RPMBUILD --target ${TARGET_ARCH} -bb build/lustre.spec \
+ --define "_tmpdir $TMPDIR" \
--define "_topdir $(lbuild_topdir)" || \
fatal 1 "Error building Lustre rpms."
# $MAKE_J "$MAKE_CC" || fatal 1 "Error building Lustre."