Skip to content

Commit e5186a1

Browse files
committed
Add instructions for how to inspect a build
I keep forgetting what the commands are, add them to the readme. Signed-off-by: Lorenz Bauer <[email protected]>
1 parent 785842d commit e5186a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ You can approximate CI by running `buildx.sh`:
1111
$ ./buildx.sh 6.1 amd64 vmlinux --tag foo:vmlinux
1212
```
1313

14+
To inspect the result of a build:
15+
16+
```shell
17+
$ ./buildx.sh 6.1 amd64 build-vmlinux-debug
18+
...
19+
=> => writing image sha256:18d00182c5495376d87dfef5a4363a1b2cbd936af4f893ab437ce006b0f893d4 0.0s
20+
$ docker run -it sha256:18d00182c5495376d87dfef5a4363a1b2cbd936af4f893ab437ce006b0f893d4
21+
root@1a64a0ade637:/usr/src/linux#
22+
```
23+
1424
## Updating versions
1525

1626
Use `update-version.sh` (requires `jq`):

0 commit comments

Comments
 (0)