golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/freebsd-amd64/README (about) 1 make.bash creates a Google Compute Engine VM image to run the Go 2 FreeBSD builder, booting up to run the buildlet. 3 4 make.bash should be run on a Linux box with qemu and a few additional packages. 5 on ubuntu 20.04: 6 apt-get install qemu-system-x86 qemu-utils expect genisoimage 7 8 After it completes, it creates a file freebsd-amd64-gce101.tar.gz 9 10 Then: 11 gsutil cp -a public-read freebsd-amd64-103.tar.gz gs://go-builder-data/freebsd-amd64-103.tar.gz 12 Or just use the web UI at: 13 https://console.developers.google.com/project/symbolic-datum-552/storage/browser/go-builder-data/ 14 15 Then: 16 gcloud compute --project symbolic-datum-552 images delete freebsd-amd64-103 17 gcloud compute --project symbolic-datum-552 images create freebsd-amd64-103 --source-uri gs://go-builder-data/freebsd-amd64-103.tar.gz 18 19 The VM needs to be run with the GCE metadata attribute "buildlet-binary-url" set to a URL 20 of the FreeBSD buildlet (cross-compiled, typically). 21 22 buildlet-binary-url == http://storage.googleapis.com/go-builder-data/buildlet.freebsd-amd64