summaryrefslogtreecommitdiffstats
path: root/bin/chroot-installation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chroot-installation.sh')
-rwxr-xr-xbin/chroot-installation.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index f8c82dee..921a9315 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -97,6 +97,9 @@ EOF
}
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 $1 into $CHROOT_TARGET now."
sudo debootstrap $1 $CHROOT_TARGET $MIRROR
prepare_bootstrap $1