aboutsummaryrefslogtreecommitdiffstats
path: root/docs/fuchsia
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@google.com>2019-08-01 13:02:52 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-08-14 09:34:25 +0200
commit34176e0895bc10f0a2427293e14b103f6364ae2c (patch)
tree80076b316e473dd8af1f70fe8d0e13abb3fd9bb1 /docs/fuchsia
parent770d4e1bc7508fcc6aef8a73422e4e16d9c5982d (diff)
docs/fuchsia: document manual ssh steps for syz-manager.
Diffstat (limited to 'docs/fuchsia')
-rw-r--r--docs/fuchsia/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/fuchsia/README.md b/docs/fuchsia/README.md
index ec1a08335..7f18bf448 100644
--- a/docs/fuchsia/README.md
+++ b/docs/fuchsia/README.md
@@ -48,6 +48,12 @@ $ make TARGETOS=fuchsia TARGETARCH=amd64 \
## Running syz-manager
+Running syz-manager requires you to have built fuchsia previously, and added the ssh keys to the fuchsia.zbi image:
+
+```
+$ ${SOURCEDIR}/out/x64.zircon/tools/zbi -o ${SOURCEDIR}/out/x64/fuchsia-ssh.zbi ${SOURCEDIR}/out/x64/fuchsia.zbi --entry "data/ssh/authorized_keys=${SOURCEDIR}/.ssh/authorized_keys"
+```
+
Run `syz-manager` with a config along the lines of:
```
{
@@ -68,7 +74,7 @@ Run `syz-manager` with a config along the lines of:
"cpu": 4,
"mem": 2048,
"kernel": "/fuchsia/out/x64.zircon/multiboot.bin",
- "initrd": "/fuchsia/out/x64/fuchsia.zbi"
+ "initrd": "/fuchsia/out/x64/fuchsia-ssh.zbi"
}
}
```