summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/chroot-run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 05ede57e..6b38c369 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -56,6 +56,8 @@ export LC_ALL=C
export http_proxy=$http_proxy"
bootstrap() {
+ mkdir -p "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d"
+ echo force-unsafe-io > "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d/02dpkg-unsafe-io"
sudo debootstrap $DISTRO $CHROOT_TARGET $MIRROR
cat > $CHROOT_TARGET/tmp/chroot-prepare <<-EOF