syzkaller/docs/openbsd/gce.md
Greg Steuck 8c88323f94 tools/create-openbsd-gce-ci.sh: image for build machine
Mostly derived from Go buildlet generator with blessing from bradfitz@.

Update #712
2018-09-10 18:28:00 +02:00

902 B

ci-openbsd host

OpenBSD continous integration build machine has two disks. The root image is generated by tools/create-openbsd-gce-ci.sh. This disk is disposable and will be rebuilt when compatibility bumps in OpenBSD-current are encountered. Manual tweaks to this image without updating the script will be lost.

There is also a persistent disk with build artifacts and syz-bot state. It is mounted as /syzkaller. The original image was set up with:

ci-openbsd# fdisk -y -i sd1
Writing MBR at offset 0.
ci-openbsd# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
> a
partition: [a]
offset: [64]
size: [419424956]
FS type: [4.2BSD]
> w
> q
No label changes.
ci-openbsd# newfs -m 0 /dev/rsd1a
ci-openbsd# mount /syzkaller
ci-openbsd# chown syzkaller:syzkaller /syzkaller

Persistent disk structure:

/syzkaller
    /src - https://github.com/openbsd/src.git