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 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