Normalize config-only kernel patches
This commit is contained in:
parent
40bcae409d
commit
2a93c20be2
1 changed files with 4 additions and 1 deletions
|
|
@ -17,6 +17,8 @@
|
|||
let
|
||||
makefile = builtins.readFile "${kernel-src}/Makefile";
|
||||
lines = lib.splitString "\n" makefile;
|
||||
normalizeKernelPatch = p: p // { patch = p.patch or null; };
|
||||
kernelPatches' = map normalizeKernelPatch kernelPatches;
|
||||
|
||||
get =
|
||||
name:
|
||||
|
|
@ -118,7 +120,8 @@ in
|
|||
buildLinux (
|
||||
args
|
||||
// {
|
||||
inherit kernelPatches extraConfig;
|
||||
kernelPatches = kernelPatches';
|
||||
inherit extraConfig;
|
||||
|
||||
version = kver;
|
||||
modDirVersion = kver;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue