golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/plan9/README (about) 1 make.bash creates a Google Compute Engine VM image to run the Go 2 Plan 9 builder, booting up to run the buildlet. 3 4 make.bash should be run on a Linux box with qemu. 5 6 After it completes, it creates a file plan9-386-gce.tar.gz 7 8 The make.bash script depends on the following packages: 9 10 $ sudo apt-get install bzip2 curl expect qemu 11 or 12 $ sudo yum install bzip2 curl expect qemu 13 14 It has been tested with QEMU 1.4.2 to 2.2.0, as provided with: 15 16 - Ubuntu 14.04 (Trusty Tahr) and above 17 - Debian 8.0 (Jessie) and above 18 - Fedora 19 and above 19 20 Also, due to an ATA bug affecting QEMU 1.6 and 1.7, the 21 Plan 9 CD can't be booted with these versions. 22 23 To create the image: 24 $ ./make.bash 25 26 Then: 27 $ gsutil cp -a public-read plan9-386-gce.tar.gz gs://go-builder-data/plan9-386-gce.tar.gz 28 29 Then: 30 $ gcloud compute --project symbolic-datum-552 images create plan9-386-v6 --source-uri gs://go-builder-data/plan9-386-gce.tar.gz 31 32 To test the image before deploying it to prod, use x/build/cmd/debugnewvm. 33 34 Then update x/build/dashboard/builders.go with the new image version 35 (e.g. "plan9-386-v5" to "plan9-386-v6").