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

     1  The Makefile in this directory creates a Google Compute Engine VM image to run the Go
     2  DragonflyBSD builder, booting up to run the buildlet.
     3  
     4  make must be run on a Linux box with qemu and a few additional packages:
     5  
     6  	apt-get install qemu-system-x86 qemu-utils expect genisoimage
     7  
     8  To override the default Dragonfly version, set V= on the make command line:
     9  
    10  	make V=600
    11  
    12  To add new Dragonfly versions, add lines to the "Database" in the Makefile
    13  and perhaps change the V= line to update the default.
    14  
    15  	make upload-prod
    16  
    17  builds and uploads the image. To replace an existing image, use
    18  
    19  	make delete-prod upload-prod
    20  
    21  s/prod/staging/ to test in the staging cluster instead.
    22  
    23  The VM needs to be run with the GCE metadata attribute "buildlet-binary-url" set to a URL
    24  of the DragonflyBSD buildlet (cross-compiled, typically).
    25  
    26  	buildlet-binary-url == http://storage.googleapis.com/go-builder-data/buildlet.dragonfly-amd64
    27  
    28  The buildlet rc script is lightly modified from ../freebsd-amd64.