diff options
author | Helmut Grohne <helmut@subdivi.de> | 2014-04-25 15:01:16 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-25 15:13:09 +0200 |
commit | 28dc4b53916f313592712bf15e4956f3f733160d (patch) | |
tree | 9dfb586b68d43529722a6aca0d215b7daada6091 | |
parent | 74e934b002081c8c34a99933c163fd894e90d147 (diff) | |
download | jenkins.debian.net-28dc4b53916f313592712bf15e4956f3f733160d.tar.xz |
chroot-run: dpkg --force-unsafe-io
This should kill most fsyncs and thus reduce io load.
-rwxr-xr-x | bin/chroot-run.sh | 2 |
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 |