summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-26 21:15:33 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-26 21:15:33 +0100
commit5eaffaed0f7ae7bd3eb57096103c3946e5061702 (patch)
treed0706d6db0f817603ebbe8f872644b61d07cd8ee /bin/schroot-create.sh
parentca3438c6ea44d952d0f6834aaa3e3a4da853f786 (diff)
downloadjenkins.debian.net-5eaffaed0f7ae7bd3eb57096103c3946e5061702.tar.xz
fixup last commit
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 fd9b3b43..d713d10c 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -49,7 +49,6 @@ fi
#
add_repokey() {
TMPFILE=$1
- shift
cat > $TMPFILE <<- EOF
echo "-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
@@ -81,6 +80,8 @@ Mb0BawlXZui0MNUSnZtxHMxrjejdvZdqtskHl9srB1QThH0jasmUqbQPxCnxMbf1
=X8YA
-----END PGP PUBLIC KEY BLOCK-----" | apt-key add -
EOF
+ echo $TMPFILE
+ ls -la $TMPFILE
}
bootstrap() {
@@ -100,7 +101,7 @@ bootstrap() {
if [ "$1" == "reproducible" ] ; then
TMPFILE=$(mktemp -u)
add_repokey $CHROOT_TARGET/$TMPFILE
- sudo chroot $CHROOT_TARGET $TMPFILE
+ sudo chroot $CHROOT_TARGET bash $TMPFILE
rm $TMPFILE
shift
fi