diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-25 15:22:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-25 15:22:34 +0200 |
commit | 7d7c88c83315e9ebfc01f835a8af29dcf5317510 (patch) | |
tree | dcd2976a8f1980c98448222f9f542fe10297ba16 /bin/chroot-installation.sh | |
parent | 28dc4b53916f313592712bf15e4956f3f733160d (diff) | |
download | jenkins.debian.net-7d7c88c83315e9ebfc01f835a8af29dcf5317510.tar.xz |
use unsafe-io in all (s)chroots
Diffstat (limited to 'bin/chroot-installation.sh')
-rwxr-xr-x | bin/chroot-installation.sh | 3 |
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 |