Commit da5afb2
feat: apply per-version patches during kernel build
Add a `patches/<kernel-version>/` mechanism: any .patch files placed in
that directory are applied with `git apply` after the source tree is
reset to the kernel tag and the .config is copied into place, before
`make olddefconfig`. Versions without a patch directory are built
unmodified, so this commit is a no-op until patches are added.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Nikita Kalyazin <nikita.kalyazin@e2b.dev>1 parent 4146be0 commit da5afb2
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
| |||
0 commit comments