This repository holds a fork of the upstream Linux kernel, for Kinvolk development purposes.
- upstream patch sets (ususally
$user/
prefixed) - Flatcar Container Linux branches (all
-flatcar
suffixed) - historic CoreOS Container Linux branches (all
-coreos
suffixed)
Please note: this repo solely exists for development of Flatcar Container Linux specific patches for the overlay repository.
This repository is not used by the build process at all; it merely exists for generating patchsets that live in the overlay repository.
The build process pulls the sources directly from git.kernel.org
.
The repo is updated on an on-demand basis, i.e. when patches need to be ported to a newer kernel release, or when new patches need to be introduced.
To create a patch, check out the branch you want to introduce a change to (probably v${VERSION}-flatcar
or v${VERSION}-coreos
for legacy branches), apply your change, and then run git format-patch ${TAG}
where tag is the exact upstream kernel tag (without -flatcar
).
This generates a set of patches that can be used by ./revbump.sh
script in the coreos-sources
directory in the overlay.
git checkout v5.4.55-flatcar
<Apply and commit your patch>
git format-patch v5.4.55
# check that the patches were generated correctly
ls *.patch