summaryrefslogtreecommitdiff
path: root/sbuild-stuff
diff options
context:
space:
mode:
Diffstat (limited to 'sbuild-stuff')
-rwxr-xr-xsbuild-stuff8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbuild-stuff b/sbuild-stuff
index 28dd961..84b277e 100755
--- a/sbuild-stuff
+++ b/sbuild-stuff
@@ -102,7 +102,13 @@ else
extra="${EXTRA_ARGS:-} -s --arch-all"
fi
-sbuild --arch="$ARCH" --dist="$DIST" --apt-update $extra "$DSC"
+if [ "${DIST%-backports}" != "$DIST" ]; then
+ RESOLVER=" --build-dep-resolver=internal"
+else
+ RESOLVER=""
+fi
+
+sbuild $RESOLVER --arch="$ARCH" --dist="$DIST" --apt-update $extra "$DSC"
changesfile="${DSC%.dsc}_$ARCH.changes"
if ! [ -e "$changesfile" ]; then