aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
authorAdam Goska <a@goska.xyz>2022-01-18 14:03:07 -0500
committerDmitry Vyukov <dvyukov@google.com>2022-01-19 09:07:11 +0100
commit0a4cf54d89683dff77317524c754bb668fd16f63 (patch)
tree4906eaaaa7568e73e89e57f3102511441936d998 /docs/linux
parent731a2d2337bad25ba97f688a5f13df7238fdc4f2 (diff)
/docs: update instructions for source checkout
Updated documentation regarding source code checkout from the legacy gopath mode 'go get' to 'git clone'. Fixes #2828
Diffstat (limited to 'docs/linux')
-rw-r--r--docs/linux/external_fuzzing_usb.md4
-rw-r--r--docs/linux/setup.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/linux/external_fuzzing_usb.md b/docs/linux/external_fuzzing_usb.md
index 43301fa46..9667f2eaf 100644
--- a/docs/linux/external_fuzzing_usb.md
+++ b/docs/linux/external_fuzzing_usb.md
@@ -154,8 +154,8 @@ index 451b2a7b..64af45c7 100644
```
``` bash
-go get -u -d github.com/google/syzkaller/prog
-cd ~/gopath/src/github.com/google/syzkaller
+git clone https://github.com/google/syzkaller
+cd syzkaller
# Put the patch above into ./syzkaller.patch
git apply ./syzkaller.patch
make executor
diff --git a/docs/linux/setup.md b/docs/linux/setup.md
index a23a6a74e..5f3c12727 100644
--- a/docs/linux/setup.md
+++ b/docs/linux/setup.md
@@ -47,8 +47,8 @@ See [Go: Download and install](https://golang.org/doc/install) for other options
To download and build `syzkaller`:
``` bash
-go get -u -d github.com/google/syzkaller/prog
-cd gopath/src/github.com/google/syzkaller/
+git clone https://github.com/google/syzkaller
+cd syzkaller
make
```