From 159227a201f9cdab6d1ccb918e82d043e6a462ca Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 May 2012 20:16:14 +0000 Subject: Force internal resolver for -backports suites git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@527 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- sbuild-stuff | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sbuild-stuff') 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 -- cgit v1.2.3