From: deshmukh Date: Thu, 3 Dec 2009 05:37:23 +0000 (+0000) Subject: Reverting the following patch to avoid the lbat head build failure. X-Git-Tag: GIT_EPOCH_B_HD_KDMU~27 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=df3a71ea42d54c25977330051e9e81ba31a0dc68 Reverting the following patch to avoid the lbat head build failure. b=21426 [lustre-cvs] HEAD: lustre-build autoMakefile.am.toplevel lbuild --- diff --git a/build/autoMakefile.am.toplevel b/build/autoMakefile.am.toplevel index 792a53b..0549cb7 100644 --- a/build/autoMakefile.am.toplevel +++ b/build/autoMakefile.am.toplevel @@ -105,7 +105,7 @@ EXTRA_DIST = @PACKAGE_TARNAME@.spec \ build/sles8-update_rcfile_setting.sh build/update_oldconfig \ build/autoconf/lustre-build-linux.m4 \ build/autoconf/lustre-build.m4 build/rdac_spec \ - build/mptlinux.spec.patch build/patches + build/mptlinux.spec.patch rpms-real: @PACKAGE_TARNAME@.spec dist Makefile rpmbuild -ta $(distdir).tar.gz diff --git a/build/lbuild b/build/lbuild index e48eb11..70d2af1 100755 --- a/build/lbuild +++ b/build/lbuild @@ -1098,45 +1098,15 @@ build_kernel_ib() { # OFED_ISCSI="$OFED_ISCSI --with-iser-mod" #fi - # assume we are just rebuilding the SRPM - local BUILD_TYPE=${BUILD_TYPE:-"--rebuild"} - local SOURCE="${TOPDIR}/OFED/SRPMS/ofa_kernel-*.src.rpm" - - # but switch to building from the SPEC if we need to apply patches - if ls ${TOPDIR}/lustre/build/patches/ofed/* >/dev/null; then - BUILD_TYPE="-bb" - rpm --define "_topdir ${TOPDIR}" -ivh $SOURCE - SOURCE="${TOPDIR}/SPECS/ofa_kernel.spec" - local file ed_fragment1 ed_fragment2 n=1 - for file in ${TOPDIR}/lustre/build/patches/ofed/*; do - ed_fragment1="$ed_fragment1 -Patch$n: ${file%%*/}" - ed_fragment2="$ed_fragment2 -%patch$n -p0" - cp $file ${TOPDIR}/SOURCES - let n=$n+1 - done - - ed $SOURCE <