Skip to content

Commit

Permalink
doc: mention go get ... failure in README
Browse files Browse the repository at this point in the history
Closes: #186
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
  • Loading branch information
vicamo committed Jul 4, 2019
1 parent 6528b2b commit 7c6985e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -50,10 +50,10 @@ sudo apt update
sudo apt install -y golang-go debootstrap rsync gpg squashfs-tools
```

Second, download the source code of the `distrobuilder` repository (this repository). The source will be placed in `$HOME/go/src/github.com/lxc/distrobuilder/`
Second, download the source code of the `distrobuilder` repository (this repository). The source will be placed in `$HOME/go/src/github.com/lxc/distrobuilder/`. Note that `distrobuilder` has no Go file in its root directory, so `go get ...` will always fail with `no Go files in ...` error.

```
go get -d -v github.com/lxc/distrobuilder
go get -d -v github.com/lxc/distrobuilder || true
```

Third, enter the directory with the source code of `distrobuilder` and run `make` to compile the source code. This will generate the executable program `distrobuilder`, and it will be located at `$HOME/go/bin/distrobuilder`.
Expand Down

0 comments on commit 7c6985e

Please sign in to comment.