Linux v4.15

This commit is contained in:
Ciro Santilli
2018-01-30 17:53:00 +00:00
parent 6b0f89a8b4
commit dc495f9334
5 changed files with 24 additions and 17 deletions

View File

@@ -2,21 +2,22 @@
## How to update the Linux kernel?
If you don't care about educational patches:
cd linux
git fetch
git checkout master
If you do:
last_mainline_revision=v4.14
git rebase --onto master $last_mainline_revision
Then rebuild the kernel:
next_mainline_revision=v4.15
cd linux
git remote add up git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch up
git rebase --onto "$next_mainline_revision" "$last_mainline_revision"
./build -t linux-reconfigure
Create and push a tag to make things saner:
git checkout -b "lkmc-${next_mainline_revision}"
git remote set-url origin git@github.com:cirosantilli/linux.git
git push --follow-tag
and update the README!
Now, all you kernel modules may break, although they are usually trivial breaks of things moving around headers or to sub-structs.
The userland, however, should simply not break, as Linus enforces strict backwards compatibility of userland interfaces.