packages/linux-lava: ignore patch when it's a new release
This commit is contained in:
parent
b9681ed925
commit
04d695c77a
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ let
|
||||||
kernelPatchHash = "0akxqc8fdf6gkiy967crp7m1ikidd3rlhx804y3da1jl75dgqcrw";
|
kernelPatchHash = "0akxqc8fdf6gkiy967crp7m1ikidd3rlhx804y3da1jl75dgqcrw";
|
||||||
|
|
||||||
mm = lib.versions.majorMinor version;
|
mm = lib.versions.majorMinor version;
|
||||||
|
patchVer = lib.versions.patch version;
|
||||||
tkgPatches = [
|
tkgPatches = [
|
||||||
"0002-clear-patches"
|
"0002-clear-patches"
|
||||||
"0003-glitched-base"
|
"0003-glitched-base"
|
||||||
|
|
@ -34,7 +35,7 @@ in {
|
||||||
sha256 = kernelHash;
|
sha256 = kernelHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = lib.optionals (patchVer != 0) [
|
||||||
kernelPatchSrc
|
kernelPatchSrc
|
||||||
]
|
]
|
||||||
++ builtins.map (name: {
|
++ builtins.map (name: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue