mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-16 23:08:13 +00:00
24 lines
521 B
Markdown
24 lines
521 B
Markdown
|
|
|
|
# Build kernel release archives for use in building RancherOS
|
|
|
|
**Fill me in**
|
|
|
|
## packaging your own kernel builds
|
|
|
|
Assuming you have some kernel source you have built in `/usr/src/linux-4.8`, you can
|
|
package up the result by running
|
|
|
|
```
|
|
./scripts/package-kernel --srcdir /usr/src/linux-4.8
|
|
```
|
|
|
|
You may need to adjust the expected module list files.
|
|
|
|
## Notes
|
|
|
|
```
|
|
+: ${KERNEL_URL:="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.8.1.tar.xz"}
|
|
+: ${KERNEL_SHA1:="af418cf983819e99fb4bd0c200a10d9568a2ac52"}
|
|
```
|