diff options
| author | Greg Steuck <gnezdo@google.com> | 2018-10-11 10:32:25 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-10-11 19:44:34 +0200 |
| commit | 42c78641f53c8e6208bfd1808259f116a7ec71de (patch) | |
| tree | 2e041b36ab796168114eb7e99a998e6afcb5d977 /tools/create-openbsd-gce-ci.sh | |
| parent | 5f818b4b9f7640ea6c31c3cdf138e5d5004a4b00 (diff) | |
tools/create-openbsd*: Support post-version flip snapshots.
* Fixed pkg_add status checking
* Switched to qcow2 test image
* Minor GC
Diffstat (limited to 'tools/create-openbsd-gce-ci.sh')
| -rwxr-xr-x | tools/create-openbsd-gce-ci.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/create-openbsd-gce-ci.sh b/tools/create-openbsd-gce-ci.sh index 1075aac1b..b425ef1ff 100755 --- a/tools/create-openbsd-gce-ci.sh +++ b/tools/create-openbsd-gce-ci.sh @@ -26,11 +26,13 @@ if [[ ! -f "${ISO}" ]]; then fi # Create custom siteXX.tgz set. -mkdir -p etc +rm -fr etc && mkdir -p etc cat >install.site <<EOF #!/bin/sh syspatch -pkg_add -I bash git gmake go llvm nano wget && echo pkg_add OK +PKGS="bash git gmake go llvm nano wget" +PKG_PATH=https://${MIRROR}/pub/OpenBSD/${DOWNLOAD_VERSION}/packages/${ARCH}/ pkg_add -I \$PKGS +PKG_PATH= pkg_info -I \$PKGS && echo pkg_add OK echo 'set tty com0' > boot.conf echo 'PasswordAuthentication no' >> /etc/ssh/sshd_config |
