| 1 | Crux-arm RaspberryPi2 Linux Kernel |
| 2 | |
| 3 | upstream sources: |
| 4 | https://www.kernel.org/pub/linux/kernel/v4.x |
| 5 | git://git.kernel.org/pub/scm/linux/kernel/git/statble/linux-stable.git |
| 6 | https://github.com/raspberrypi/linux |
| 7 | |
| 8 | |
| 9 | Generating the kernel patch: |
| 10 | |
| 11 | This is a stripped down description of how I generated the kernel patch. |
| 12 | It is based on how I thought it might have been done by Alpine Linux for |
| 13 | there raspberrypi kernel. |
| 14 | |
| 15 | git clone -b rpi-4.5.y https://github.com/raspberrypi/linux.git linux-rpi |
| 16 | cd linux-rpi |
| 17 | git remote add -b linux-4.5.y stable-4.5 \ |
| 18 | git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git |
| 19 | git pull stable-4.5 |
| 20 | git diff stable-4.5..rpi-4.5.y > ../linux-4.5.y-rpi-$(date +%Y%m%d).patch |