Skip to content

Commit

Permalink
Merge pull request torvalds#126 from ajeddeloh/update-readme
Browse files Browse the repository at this point in the history
readme: update to include how to use this repo
  • Loading branch information
ajeddeloh authored Dec 22, 2017
2 parents 67b4f63 + 58a7e55 commit 29c37f4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
This repository contains the CoreOS branch of Linux. A new branch is created for each kernel version the distribution is rebased onto. The currently shipped version is available in the [overlay repository]( https://github.com/coreos/coreos-overlay/tree/master/sys-kernel/coreos-sources/files).
This repository contains the CoreOS branches of Linux. A new branch is created for each kernel version the distribution is rebased onto. The currently shipped version is available in the [overlay repository](https://github.com/coreos/coreos-overlay/tree/master/sys-kernel/coreos-sources/files).

This repository is not used by the build process at all; it merely exists for generating patchsets that live in coreos-overlay. To add a patch, check out the branch you want to add a patch to (probably v${VERSION}-coreos), apply the patch, then run `git format-patch ${TAG}` where tag is the upstream kernel tag (no "-coreos"). This generates a set of patches that can be used by `./revbump.sh` script in the `coreos-sources` directory in the overlay.

```sh
git checkout v4.13.16-coreos

<Apply and commit your patch>

git format-patch v4.13.16
# check that the patches were generated correctly
ls *.patch
```

0 comments on commit 29c37f4

Please sign in to comment.