Skip to content

Commit

Permalink
README: update target used with arch and tar-pkg
Browse files Browse the repository at this point in the history
Commit 9e7539f modified our use of the
dir-pkg target because it wasn't supported in 4.19. This updates the
README along the arch specific target changes.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy authored and kkourt committed Mar 13, 2024
1 parent f668733 commit 770359d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ $ go run ./cmd/lvh kernels --dir _data add bpf-next git://git.kernel.org/pub/scm
$ go run ./cmd/lvh kernels --dir _data build bpf-next
```

Please note, to cross-build for a different architecture, you can use the
`--arch=arm64` or `--arch=amd64` flag.

The configuration file keeps the url for a kernel, together with its configuration options:
```jsonc
$ jq . < _data/kernel.json
Expand Down Expand Up @@ -123,7 +126,8 @@ bpf-next/
git/
```

Currently, kernels are built using the `bzImage` and `dir-pkg` targets (see [pkg/kernels/conf.go](pkg/kernels/conf.go)).
Currently, kernels are built using the `bzImage` for x86\_64 or `Image.gz` for
arm64, and `tar-pkg` targets (see [pkg/kernels/conf.go](pkg/kernels/conf.go)).

### Booting images

Expand Down

0 comments on commit 770359d

Please sign in to comment.