[Qa-jenkins-scm] [jenkins.debian.net] 01/05: reproducible: setup_schroot: print apt invocation
Holger Levsen
holger at moszumanska.debian.org
Thu Apr 30 20:02:08 UTC 2015
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 830dfb59e963bd9233b7eea4ff7acf87239c0dd1
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Thu Apr 30 21:11:17 2015 +0200
reproducible: setup_schroot: print apt invocation
---
bin/reproducible_setup_schroot.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_setup_schroot.sh b/bin/reproducible_setup_schroot.sh
index 41dc235..1b45fc7 100755
--- a/bin/reproducible_setup_schroot.sh
+++ b/bin/reproducible_setup_schroot.sh
@@ -54,10 +54,12 @@ bootstrap() {
sudo chroot $CHROOT_TARGET apt-get update
if [ -n "$1" ] ; then
+ set -x
sudo chroot $CHROOT_TARGET apt-get update
# install debbindiff with all recommends...
#sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@"
sudo chroot $CHROOT_TARGET apt-get install -y "$@"
+ if ! $DEBUG ; then set +x ; fi
else
# schroot is used to download sources, so add our repo too
echo 'deb-src http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list
--
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