diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-installation.sh | 3 | ||||
-rwxr-xr-x | bin/chroot-run.sh | 2 | ||||
-rwxr-xr-x | bin/schroot-create.sh | 4 |
3 files changed, 9 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 diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index 6b38c369..4d3555bb 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -58,6 +58,8 @@ 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" + + echo "Bootstraping $DISTRO into $CHROOT_TARGET now." sudo debootstrap $DISTRO $CHROOT_TARGET $MIRROR cat > $CHROOT_TARGET/tmp/chroot-prepare <<-EOF 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 |