diff options
Diffstat (limited to 'init_buildsystem')
-rwxr-xr-x | init_buildsystem | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init_buildsystem b/init_buildsystem index 1b3170f..55b6416 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -59,6 +59,7 @@ CLEAN_BUILD= CREATE_BUILD_BINARIES= DLNOSIGNATURE= CACHE_DIR=/var/cache/build +USEHIGHERDEPS= while test -n "$1" ; do case "$1" in @@ -112,6 +113,10 @@ while test -n "$1" ; do shift DLNOSIGNATURE="--nosignature" ;; + --use-higher-deps) + shift + USEHIGHERDEPS="--usehigherdeps" + ;; *) break ;; @@ -574,7 +579,7 @@ else # RPMLIST=$BUILD_ROOT/.init_b_cache/rpmlist test -z "$LIST_STATE" && echo "expanding package dependencies..." - if ! $BUILD_DIR/expanddeps $USEUSEDFORBUILD "${definesnstuff[@]}" --dist "$BUILD_DIST" --depfile "$CACHE_FILE" --archpath "$BUILD_ARCH" --configdir $CONFIG_DIR "${PKGS[@]}" > $RPMLIST ; then + if ! $BUILD_DIR/expanddeps $USEUSEDFORBUILD $USEHIGHERDEPS "${definesnstuff[@]}" --dist "$BUILD_DIST" --depfile "$CACHE_FILE" --archpath "$BUILD_ARCH" --configdir $CONFIG_DIR "${PKGS[@]}" > $RPMLIST ; then rm -f $BUILD_IS_RUNNING cleanup_and_exit 1 fi |