Add initial patches for CPU Controller on Control Group v2

This commit is contained in:
Shea Levy
2016-08-25 13:01:40 -04:00
parent d378f5fe11
commit 2b1fa9da8b
7 changed files with 1260 additions and 0 deletions
@@ -0,0 +1,11 @@
let
ents = builtins.readDir ./.;
in builtins.listToAttrs (builtins.filter (x: x != null) (map (name: let
match = builtins.match "(.*)\\.patch" name;
in if match == null then null else {
name = builtins.head match;
value = {
name = "cpu-cgroup-v2-${name}";
patch = ./. + "/${name}";
};
}) (builtins.attrNames ents)))