USEHIGHERDEPS=
PKG_CCACHE=
CCACHE_SETUP_START_TIME=
+NOCUMULATE=
# This is for insserv
export YAST_IS_RUNNING=instsys
(This options in kvm can not guarantee reproducible builds)
--debug
Enable creation of a debuginfo package
+ --nocumulate
+ Enable build without cumulative build.
Remember to have fun!
test "$icecream" -gt 0 && BUILD_JOBS="$ARG"
shift
;;
+ -nocumulate)
+ NOCUMULATE="--nocumulate"
+ ;;
-ccache)
CCACHE=true
;;
recipe_unpack_srcrpm
RECIPEFILE="$MYSRCDIR/$RECIPEFILE"
fi
- init_buildsystem --configdir "$CONFIG_DIR" --cachedir "$CACHE_DIR" --list-state "${definesnstuff[@]}" "${repos[@]}" $DLNOSIGNATURE $KEEP_PACKS $USEHIGHERDEPS $USEUSEDFORBUILD $RECIPEFILE $BUILD_EXTRA_PACKS
+ init_buildsystem --configdir "$CONFIG_DIR" --cachedir "$CACHE_DIR" --list-state "${definesnstuff[@]}" "${repos[@]}" $DLNOSIGNATURE $KEEP_PACKS $NOCUMULATE $USEHIGHERDEPS $USEUSEDFORBUILD $RECIPEFILE $BUILD_EXTRA_PACKS
ERR=$?
rm -rf "$BUILD_ROOT"
cleanup_and_exit $ERR
test "$BUILDTYPE" = debootstrap && CREATE_BUILD_BINARIES=--create-build-binaries
test "$BUILDTYPE" = livebuild && CREATE_BUILD_BINARIES=--create-build-binaries
test "$BUILDTYPE" = snapcraft && CREATE_BUILD_BINARIES=--create-build-binaries
- set -- init_buildsystem --configdir "$CONFIG_DIR" --cachedir "$CACHE_DIR" "${definesnstuff[@]}" "${repos[@]}" $CLEAN_BUILD $DLNOSIGNATURE $KEEP_PACKS $USEHIGHERDEPS $USEUSEDFORBUILD $CREATE_BUILD_BINARIES $RPMLIST "$MYSRCDIR/$RECIPEFILE" $ADDITIONAL_PACKS
+ set -- init_buildsystem --configdir "$CONFIG_DIR" --cachedir "$CACHE_DIR" "${definesnstuff[@]}" "${repos[@]}" $CLEAN_BUILD $DLNOSIGNATURE $KEEP_PACKS $NOCUMULATE $USEHIGHERDEPS $USEUSEDFORBUILD $CREATE_BUILD_BINARIES $RPMLIST "$MYSRCDIR/$RECIPEFILE" $ADDITIONAL_PACKS
echo "$* ..."
start_time=`date +%s`
"$@" || cleanup_and_exit 1
# ref: https://review.tizen.org/gerrit/#/c/platform/upstream/build/+/25635/
DO_CUMULATE=true
+
local nocumulaterpms=$(queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" buildflags nocumulaterpms)
if test -n "$nocumulaterpms" ; then
- test "$nocumulaterpms" != 0 && DO_CUMULATE=false
- #else
- # # compatibility: auto-set cumulate for newer suse distros
- # typeset -ri suse_version=$(queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" eval '%{?suse_version}')
- # if ((suse_version > 1220)) ; then
- # DO_CUMULATE=true
- # fi
+ test "$nocumulaterpms" != 0 && DO_CUMULATE=false
+ else
+ test "$NOCUMULATE" = true && DO_CUMULATE=false
fi
-
}
pkg_verify_installed_rpm() {