x/build: upgrade OpenBSD GCE image #13029
The OpenBSD builders should just run the most current stable release (5.8 at this point in time) - this is how they've been run (at least prior to moving to GCE). The most important thing to verify is that we are able to build on the most recent release. If for some reason we stopped working on the previous stable release and someone wants to run Go tip, then they can upgrade.
OpenBSD 5.8 is the current release and OpenBSD 5.6 is no longer supported. Revise build script: - Use the auto installer and disklabel templates built into later versions of OpenBSD, rather than entirely using expect. - Rather than duplicating the entire script for openbsd-386, provide an ARCH environment variable that switches between openbsd/amd64 and openbsd/i386. Have the openbsd-386 script invoke the openbsd-amd64 script with the appropriate environment. - Remove the 'ignore classless-static-routes' option for dhclient, as it is no longer needed for OpenBSD 5.7 and later. - Clean up after ourselves, rather than leaving a bunch of temporary files lying around. Updates issue golang/go#13029. Change-Id: Ic1b11dd5eded317b7be32b8f1c2485617ac02b78 Reviewed-on: https://go-review.googlesource.com/18358 Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org>