summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
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