forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
Kernel Update Procedure
Jeremy Soller edited this page Jun 23, 2022
·
1 revision
In this case, 5.18.6 is used as the newest mainline. Replace with your desired kernel version.
- Choose a kernel from Kernels are pulled from https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D
- At the link (https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18.6/ for example), find the git source line. It is
git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.18.6
for this example - Checkout the closest version of https://github.com/pop-os/linux, in this case, the linux-5.18.5 branch from https://github.com/pop-os/linux/pull/157
- Create a new branch for the new version
git checkout -b linux-5.18.6
- Fetch the Ubuntu mainline packaging
git fetch git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.18.6
- Rebase on it, dropping any commits before System76 Linux and any that start with DROP ON REBASE. When switching major versions be careful to only bring in commits from us.
- Run
./system76.sh
- this will create the debian changelog - Push with
git push -u origin linux-5.18.6
and create the PR, for example: https://github.com/pop-os/linux/pull/159