Skip to content

Commit

Permalink
env/freebsd-amd64: increase the disk size for image
Browse files Browse the repository at this point in the history
The standard Go unit tests fail when the disk size is 8GB. This change
increases the size of the disk for freebsd-amd64 based hosts to 16GB.

Updates golang/go#45903

Change-Id: I1f72d019c847f10867d3071f6c4525d04e660939
Reviewed-on: https://go-review.googlesource.com/c/build/+/365254
Trust: Carlos Amedee <[email protected]>
Run-TryBot: Carlos Amedee <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Yuval Pavel Zholkover <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
cagedmantis committed Nov 19, 2021
1 parent 858ecaf commit f97d154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/freebsd-amd64/make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ if ! [ -e FreeBSD-${VERSION:?}-amd64.raw ]; then
download_image
fi

qemu-img create -f qcow2 -b FreeBSD-${VERSION:?}-amd64${VERSION_TRAILER}.raw disk.qcow2 8G
qemu-img create -f qcow2 -b FreeBSD-${VERSION:?}-amd64${VERSION_TRAILER}.raw disk.qcow2 16G

mkdir -p iso/boot iso/etc iso/usr/local/etc/rc.d
cp loader.conf iso/boot
Expand Down

0 comments on commit f97d154

Please sign in to comment.