From 959ecac538db3d16ef42803675fde036e7821719 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sat, 18 Nov 2017 18:30:40 +0000 Subject: [PATCH] Maintainers how to update linux kernel --- maintainers.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/maintainers.md b/maintainers.md index f521a7d..067a963 100644 --- a/maintainers.md +++ b/maintainers.md @@ -1,5 +1,30 @@ # Maintainers +## 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: + + ./build -t linux-reconfigure + +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. + +This backwards compatibility is just awesome, it makes getting and running the latest master painless. + +This also makes this repo the perfect setup to develop the Linux kernel. + ## How to add new Buildroot options? cd buildroot/output.x86_64~