зеркало из https://github.com/golang/build.git
d6ee231f33
Due to several factors as an old pkg version in the ISO, or the amount
of changes that have gone to the binary packages since 6.4.0 was
released, a bit of a workaround is needed in phase2.sh
For golang/go#64684.
Change-Id: I233fcfb77c3cc2f0b04331ad7bfee5892193622a
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
README | ||
buildlet | ||
phase1.sh | ||
phase2.sh | ||
phase3.sh |
README
The Makefile in this directory creates a Google Compute Engine VM image to run the Go DragonflyBSD builder, booting up to run the buildlet. make must be run on a Linux box with qemu and a few additional packages: apt-get install qemu-system-x86 qemu-utils expect genisoimage To override the default Dragonfly version, set V= on the make command line: make V=600 To add new Dragonfly versions, add lines to the "Database" in the Makefile and perhaps change the V= line to update the default. make upload-prod builds and uploads the image. To replace an existing image, use make delete-prod upload-prod s/prod/staging/ to test in the staging cluster instead. The VM needs to be run with the GCE metadata attribute "buildlet-binary-url" set to a URL of the DragonflyBSD buildlet (cross-compiled, typically). buildlet-binary-url == http://storage.googleapis.com/go-builder-data/buildlet.dragonfly-amd64 The buildlet rc script is lightly modified from ../freebsd-amd64.