summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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