summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-25 15:22:34 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-25 15:22:34 +0200
commit7d7c88c83315e9ebfc01f835a8af29dcf5317510 (patch)
treedcd2976a8f1980c98448222f9f542fe10297ba16 /bin/schroot-create.sh
parent28dc4b53916f313592712bf15e4956f3f733160d (diff)
downloadjenkins.debian.net-7d7c88c83315e9ebfc01f835a8af29dcf5317510.tar.xz
use unsafe-io in all (s)chroots
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 44083136..76a7f389 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -58,6 +58,10 @@ fi
export CURDIR=$(pwd)
bootstrap() {
+ mkdir -p "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d"
+ echo force-unsafe-io > "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d/02dpkg-unsafe-io"
+
+ echo "Bootstraping $DISTRO into $CHROOT_TARGET now."
sudo debootstrap $DISTRO $CHROOT_TARGET $MIRROR
echo sudo -s <<-EOF