summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-27 10:57:33 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-27 10:57:33 +0100
commit80c4803631fff6b66c6a82f1caddb1e786e773ef (patch)
tree63d3127fe17a13aff405284567eaa1289c5ec9b0 /bin/schroot-create.sh
parente924140d6e33c2dbd803d83621b4405f18f49ebb (diff)
downloadjenkins.debian.net-80c4803631fff6b66c6a82f1caddb1e786e773ef.tar.xz
more debugging
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index d713d10c..6b767750 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -5,7 +5,7 @@
# Copyright 2014 Joachim Breitner <nomeata@debian.org>
# released under the GPLv=2
-DEBUG=false
+DEBUG=true
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
@@ -101,7 +101,8 @@ bootstrap() {
if [ "$1" == "reproducible" ] ; then
TMPFILE=$(mktemp -u)
add_repokey $CHROOT_TARGET/$TMPFILE
- sudo chroot $CHROOT_TARGET bash $TMPFILE
+ ls -la $CHROOT_TARGET/$TMPFILE
+ sudo chroot $CHROOT_TARGET bash -- $TMPFILE
rm $TMPFILE
shift
fi