Commit 0219d3ea authored by Holger Levsen's avatar Holger Levsen

chroot-run: install backports as needed

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 3a0cb92e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment