I've been installing kernels from mainline repository - all simple there, just *.deb
files, one can do simple dpkg -i
on them. But how can one apply the patches 0001-base-packaging.patch
, 0002-debian-changelog.patch
, 0003-configs-based-on-Ubuntu-4.4.0-0.10.patch
manually ?
As stated in README at mainline:
This means that you need to apply those patches only if you are building your kernel from source and not from
*.deb
.In case if you are building it from source, then these are the steps you need to follow:
Install these packages:
Get the source code:
Copy the patches files.
Change to kernel directory:
Make any custom changes.
Apply patches:
Make:
Install generated deb:
Update
GRUB
and reboot: