X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=contrib%2Flbuild%2Flbuild;h=37826fc30921804081e916c78067399a9ee6bc0a;hb=7aaa680b7f22e7dfaac8af38b78d89164a94e842;hp=f4bd2a0ec41f799b7d5b1bcc67c66626b2489d4d;hpb=d8c6a3b3a652c88b4322535ee41c0934f4568107;p=fs%2Flustre-release.git diff --git a/contrib/lbuild/lbuild b/contrib/lbuild/lbuild index f4bd2a0..37826fc 100755 --- a/contrib/lbuild/lbuild +++ b/contrib/lbuild/lbuild @@ -285,6 +285,9 @@ check_options() { fi case $TARGET in + 3.12-sles12) + CANONICAL_TARGET="sles12" + ;; 3.10-rhel7) CANONICAL_TARGET="rhel7" ;; @@ -710,7 +713,7 @@ load_target() { # go away and the target just specify the $RPMSMPTYPE [ -z "$RPMSMPTYPE" ] && set_rpm_smp_type - # CC might have been overwriten in TARGET_FILE + # CC might have been overwritten in TARGET_FILE if [[ $CC != ccache\ * ]] && which "$CCACHE" &>/dev/null; then export CCACHE && export CC="ccache $CC" fi @@ -952,12 +955,6 @@ build_lustre() { targets="--target $arch $targets" done - local confoptions="" - - if $PATCHLESS; then - confoptions="$confoptions --disable-server" - fi - local rpmbuildopt='-tb' if $NORPM; then rpmbuildopt='-tc' @@ -1002,7 +999,7 @@ build_lustre() { fi RPMBUILD_DEFS="$RPMBUILD_DEFS ${FIND_REQUIRES:+--define \"__find_requires $FIND_REQUIRES\"}" - RPMBUILD_DEFS="$RPMBUILD_DEFS --define \"configure_args $confoptions ${CONFIGURE_FLAGS}\"" + RPMBUILD_DEFS="$RPMBUILD_DEFS --define \"configure_args ${CONFIGURE_FLAGS}\"" RPMBUILD_DEFS="$RPMBUILD_DEFS --define \"kdir $linux\"" RPMBUILD_DEFS="$RPMBUILD_DEFS ${linuxobj:+--define \"kobjdir $linuxobj\"}" RPMBUILD_DEFS="$RPMBUILD_DEFS --define \"_tmppath $TMPDIR\"" @@ -1053,7 +1050,7 @@ build_spl_zfs() { # The spl/zfs spec files expect RPM_BUILD_ROOT to point to the root of the # destination for the rpms export RPM_BUILD_ROOT=$TOPDIR - SPLZFSVER=${SPLZFSVER:-0.6.3-1.2} + SPLZFSVER=${SPLZFSVER:-0.6.4.2} SPLZFSTAG=${SPLZFSTAG:-} # The files expect a kver to be set to the kernel version .