[tor-commits] [gitian-builder/tor-browser-builder-4] Increase base VM size from 15360M to 20480M.
gk at torproject.org
gk at torproject.org
Mon Apr 17 18:30:59 UTC 2017
commit 6185a530122f5476335bcd46dba6a3e8b3eefed8
Author: David Fifield <fifield at eecs.berkeley.edu>
Date: Sat Apr 15 18:20:45 2017 -0700
Increase base VM size from 15360M to 20480M.
Needed to hold the webrtc source code.
https://bugs.torproject.org/21954#comment:2
---
bin/make-base-vm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/make-base-vm b/bin/make-base-vm
index 9e796eb..4ada11f 100755
--- a/bin/make-base-vm
+++ b/bin/make-base-vm
@@ -172,7 +172,7 @@ if [ $LXC = "1" ]; then
sudo cp $OUT-bootstrap/usr/lib/i386-linux-gnu/lxc/lxc-init $OUT-bootstrap/usr/sbin/init.lxc
fi
fi
- dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=15360
+ dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=20480
/sbin/mkfs.ext4 -F $OUT-lxc
t=`mktemp -d gitian.XXXXXXXX`
sudo mount $OUT-lxc $t
@@ -191,7 +191,7 @@ else
libexec/config-bootstrap-fixup
rm -rf $OUT
- env -i LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 sudo vmbuilder kvm $DISTRO --rootsize 20000 --arch=$ARCH --suite=$SUITE --addpkg=$addpkg --removepkg=$removepkg --ssh-key=var/id_rsa.pub --ssh-user-key=var/id_rsa.pub --mirror=$MIRROR --security-mirror=$SECURITY_MIRROR --dest=$OUT --flavour=$FLAVOUR --firstboot=`pwd`/target-bin/bootstrap-fixup
+ env -i LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 sudo vmbuilder kvm $DISTRO --rootsize 20480 --arch=$ARCH --suite=$SUITE --addpkg=$addpkg --removepkg=$removepkg --ssh-key=var/id_rsa.pub --ssh-user-key=var/id_rsa.pub --mirror=$MIRROR --security-mirror=$SECURITY_MIRROR --dest=$OUT --flavour=$FLAVOUR --firstboot=`pwd`/target-bin/bootstrap-fixup
mv $OUT/*.qcow2 $OUT.qcow2
rm -rf $OUT
# bootstrap-fixup is done on first boot
More information about the tor-commits
mailing list