golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/openbsd-amd64/README (about)

     1  make.bash creates a Google Compute Engine VM image to run the Go
     2  OpenBSD builder, booting up to run the buildlet.
     3  
     4  make.bash should be run on a Linux box with expect and qemu.
     5  Debian packages: expect qemu-utils qemu-system-x86 growisofs genisoimage.
     6      VERSION=7.2 ARCH=amd64 ./make.bash
     7  
     8  After it completes, it creates a file openbsd-${VERSION}-${ARCH}-gce.tar.gz
     9  
    10  Then:
    11      gsutil cp -a public-read openbsd-7.2-amd64-gce.tar.gz gs://go-builder-data/openbsd-amd64-72.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 openbsd-amd64-72
    17      gcloud compute --project symbolic-datum-552 images create openbsd-amd64-72 --source-uri gs://go-builder-data/openbsd-amd64-72.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 OpenBSD buildlet (cross-compiled, typically).
    21  
    22      buildlet-binary-url == https://storage.googleapis.com/go-builder-data/buildlet.openbsd-amd64