mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-24 19:49:45 +00:00
7b979a0f95e29c9d3a6d6351e4a5dd10bbc6b353
Move things around to make it easier to package up a kernel you built elsewhere
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"}
Description
Languages
Shell
92%
Dockerfile
5.3%
Makefile
2.7%