[Qa-jenkins-scm] [jenkins.debian.net] 01/01: chroot-run: install backports as needed
Holger Levsen
holger at layer-acht.org
Wed Sep 6 15:27:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 0219d3ea80b263e16782fc1e87dfb87dab944060
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Sep 6 17:26:44 2017 +0200
chroot-run: install backports as needed
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/chroot-run.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 5b83790..1e9acb1 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list