diff options
author | Peter Palfrader <peter@palfrader.org> | 2012-05-02 20:16:14 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2012-05-02 20:16:14 +0000 |
commit | 159227a201f9cdab6d1ccb918e82d043e6a462ca (patch) | |
tree | 26bb8fca872152deaa9ca5b38de0d8b3f3b390ed /sbuild-stuff | |
parent | 8cf50ac7c30d35bdc132951493112f7b048a9d9a (diff) |
Force internal resolver for -backports suites
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@527 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'sbuild-stuff')
-rwxr-xr-x | sbuild-stuff | 8 |
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 |