mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
linux-hardened: Remove tag patch
This commit is contained in:
parent
e80850fe42
commit
071750d412
@ -1,7 +0,0 @@
|
||||
diff --git a/localversion-hardened b/localversion-hardened
|
||||
new file mode 100644
|
||||
index 0000000000..e578045860
|
||||
--- /dev/null
|
||||
+++ b/localversion-hardened
|
||||
@@ -0,0 +1 @@
|
||||
+-hardened
|
@ -33,11 +33,6 @@
|
||||
|
||||
cpu-cgroup-v2 = import ./cpu-cgroup-v2-patches;
|
||||
|
||||
tag_hardened = {
|
||||
name = "tag-hardened";
|
||||
patch = ./hardened/tag-hardened.patch;
|
||||
};
|
||||
|
||||
hardened = let
|
||||
mkPatch = kernelVersion: src: {
|
||||
name = lib.removeSuffix ".patch" src.name;
|
||||
|
@ -19265,10 +19265,9 @@ in
|
||||
inherit (kernel) version;
|
||||
};
|
||||
kernelPatches = kernel.kernelPatches ++ [
|
||||
kernelPatches.tag_hardened
|
||||
kernelPatches.hardened.${kernel.meta.branch}
|
||||
];
|
||||
modDirVersionArg = kernel.modDirVersion + (kernelPatches.hardened.${kernel.meta.branch}).extra + "-hardened";
|
||||
modDirVersionArg = kernel.modDirVersion + (kernelPatches.hardened.${kernel.meta.branch}).extra;
|
||||
isHardened = true;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user