1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-04-27 02:10:50 +00:00
github mirror
Go to file
2019-12-26 09:16:54 +00:00
config [x86] update kernel config 4.19.91 2019-12-26 08:04:35 +00:00
firmware Bump up firmware to 20190514 2019-06-10 08:22:34 +02:00
images Support multiple architectures 2018-11-30 18:25:15 +08:00
modules [x86] update modules-extra list 2019-12-26 09:16:54 +00:00
patches [ARM64] Upgrade kernel to 4.19.x 2019-04-29 16:27:05 +08:00
scripts Bump up firmware to 20190514 2019-06-10 08:22:34 +02:00
.dockerignore os-extras and os-headers images are built for release/ci 2016-11-14 21:48:51 +10:00
.gitignore Make source dir based on git tag 2016-07-10 05:07:19 +00:00
.no-chown hello world 2015-08-05 21:53:05 +05:00
.wrap-docker-args hello world 2015-08-05 21:53:05 +05:00
Dockerfile.dapper Bump up firmware to 20190514 2019-06-10 08:22:34 +02:00
LICENSE hello world 2015-08-05 21:53:05 +05:00
Makefile Add make kernel-config command 2018-08-22 12:03:06 +08:00
README.md Update README 2019-02-18 09:26:55 +08:00

Build kernel release archives for use in building RancherOS

To build the tgz's and the kernel header & extras images, run:

git checkout tags/v4.14.98-rancher -b v4.14.98-rancher

KERNEL_TAG=4.14.98 make release

You should build it on an arm64 host if you want to get an arm64 kernel.

and if you're uploading them, set your GITHUB_TOKEN and login to docker hub, then run

(this requires https://github.com/aktau/github-release to be installed in your path)

dist/publish.sh

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.