From e0384e72f6af04f53d28fd2fe9e9788c88805486 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Fri, 13 May 2016 22:57:31 -0400 Subject: [PATCH] Add more upstream source and howto for patch --- README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README b/README index 61f749e..68ded37 100644 --- a/README +++ b/README @@ -1,2 +1,20 @@ +Crux-arm RaspberryPi2 Linux Kernel + upstream sources: + https://www.kernel.org/pub/linux/kernel/v4.x + git://git.kernel.org/pub/scm/linux/kernel/git/statble/linux-stable.git https://github.com/raspberrypi/linux + + +Generating the kernel patch: + +This is a stripped down description of how I generated the kernel patch. +It is based on how I thought it might have been done by Alpine Linux for +there raspberrypi kernel. + +git clone -b rpi-4.5.y https://github.com/raspberrypi/linux.git linux-rpi +cd linux-rpi +git remote add -b linux-4.5.y stable-4.5 \ + git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git +git pull stable-4.5 +git diff stable-4.5..rpi-4.5.y > ../linux-4.5.y-rpi-$(date +%Y%m%d).patch -- 2.26.2