Skip to content

Commit 5d44b5a

Browse files
committed
Add docs about build.sh
1 parent 63ca1b7 commit 5d44b5a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,30 @@ you want. Examples:
1515
Once the change is checked in, automation will build and upload any kernels not
1616
already present in the [Assets Release][1] to the assets release.
1717

18+
## Doing a local build
19+
20+
Doing a local build is useful for testing an infra or config change. For example:
21+
22+
```sh
23+
$ ./build.sh v6.6
24+
[...]
25+
26+
$ file linux-v6.6.tar.zst
27+
linux-v6.6.tar.zst: Zstandard compressed data (v0.8+), Dictionary ID: None
28+
29+
$ tar --zstd -xvf linux-v6.6.tar.zst
30+
[...]
31+
32+
$ vmtest -k ./assets/bzImage -- uname -r
33+
=> bzImage
34+
===> Booting
35+
===> Setting up VM
36+
===> Running command
37+
6.6.0
38+
```
39+
40+
Note it could take a while to build a kernel.
41+
1842
## Changing already-built kernels
1943

2044
Automation is not yet smart enough to rebuild and reupload existing assets

0 commit comments

Comments
 (0)