docs: generic-kernels: Allow cherry-picking patches to fix compilation

In the case that the compilation is broken, it is not possible to wait
until a patch is merged upstream to fix it. We want to be able to patch
the kernels temporarily while also ensuring the fixes make it upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
This commit is contained in:
Aelin 2026-03-10 21:23:20 +01:00 committed by The Friendly Meow (merge) Bot
parent 0f0b8ceaa2
commit cbad33f921
No known key found for this signature in database

View file

@ -78,8 +78,11 @@ The following types of patches can be temporarily added to the generic kernels:
`-stable` kernels (not to `-lts`).
* Reverting patches that broke something (while also following up upstream to
get the patch fixed or reverted).
* Patches to build the kernel with our toolchains (while also making sure those
get upstreamed eventually)
Out-of-tree patches are not acceptable for the generic kernels.
Generally speaking, out-of-tree patches or non-upstreamable patches are not
acceptable for the generic kernels.
## Device package template