Skip to content

Commit 938dd67

Browse files
committed
env/openbsd-amd64: install git, improve README
Updates golang/go#8642 Change-Id: Ia11faeafb96a325ff62dcf95fedb5a6489e41bd4 Reviewed-on: https://go-review.googlesource.com/2263 Reviewed-by: Minux Ma <[email protected]>
1 parent 0a8eb31 commit 938dd67

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

dashboard/env/openbsd-amd64/README

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ make.bash should be run on a Linux box with qemu.
55

66
After it completes, it creates a file openbsd-amd64-gce.tar.gz
77

8-
Upload openbsd-amd64-gce.tar.gz to gs://go-builder-data/openbsd-amd64-gce.tar.gz
9-
I just use the web UI at:
8+
Then:
9+
gsutil cp -a public-read openbsd-amd64-gce.tar.gz gs://go-builder-data/openbsd-amd64-gce.tar.gz
10+
Or just use the web UI at:
1011
https://console.developers.google.com/project/symbolic-datum-552/storage/browser/go-builder-data/
1112

1213
Then:
14+
gcloud compute --project symbolic-datum-552 images delete openbsd-amd64-56
1315
gcloud compute --project symbolic-datum-552 images create openbsd-amd64-56 --source-uri gs://go-builder-data/openbsd-amd64-gce.tar.gz
1416

1517
The VM needs to be run with the GCE metadata attribute "buildlet-binary-url" set to a URL

dashboard/env/openbsd-amd64/make.bash

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
mkdir -p etc
1818
cat >install.site <<EOF
1919
#!/bin/sh
20-
env PKG_PATH=ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.6/packages/amd64 pkg_add -iv bash curl
20+
env PKG_PATH=ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.6/packages/amd64 pkg_add -iv bash curl git
2121
2222
# See https://code.google.com/p/google-compute-engine/issues/detail?id=77
2323
echo "ignore classless-static-routes;" >> /etc/dhclient.conf
@@ -202,7 +202,10 @@ send "yes\n"
202202
expect -timeout 600 "Location of sets\?"
203203
send "done\n"
204204
205-
# Need to wait for install.site to install curl.
205+
expect "Ambiguous: choose dependency for git"
206+
send "0\n"
207+
208+
# Need to wait for install.site to install curl, git, et
206209
expect -timeout 600 "CONGRATULATIONS!"
207210
208211
expect "# "

0 commit comments

Comments
 (0)