diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-run.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index 5b837907..1e9acb1a 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -171,7 +171,12 @@ fi if [ -f debian/control ] ; then cat debian/control # install build-depends - mk-build-deps -ir + if [ -z "$BACKPORTS" ] ; then + mk-build-deps -ir + else + # use default mk-build-deps tool but configure it to use backports + mk-build-deps -ir -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -t $DISTRO-backports" + fi fi EOF fi |