docs/fuchsia: document manual ssh steps for syz-manager.

This commit is contained in:
Marco Vanotti 2019-08-01 13:02:52 -07:00 committed by Dmitry Vyukov
parent 770d4e1bc7
commit 34176e0895

View File

@ -48,6 +48,12 @@ $ make TARGETOS=fuchsia TARGETARCH=amd64 \
## Running syz-manager ## 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: 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, "cpu": 4,
"mem": 2048, "mem": 2048,
"kernel": "/fuchsia/out/x64.zircon/multiboot.bin", "kernel": "/fuchsia/out/x64.zircon/multiboot.bin",
"initrd": "/fuchsia/out/x64/fuchsia.zbi" "initrd": "/fuchsia/out/x64/fuchsia-ssh.zbi"
} }
} }
``` ```