linuxPackages_4_{19,20}: works around bug with overlayfs.

See: https://github.com/NixOS/nixpkgs/issues/48828#issuecomment-445208626
This commit is contained in:
Samuel Dionne-Riel 2018-12-26 15:30:04 -05:00
parent 9d3fbbeda5
commit de86af48fa
2 changed files with 12 additions and 0 deletions

View File

@ -58,4 +58,14 @@ rec {
};
};
# Reverts a change related to the overlayfs overhaul in 4.19
# https://github.com/NixOS/nixpkgs/issues/48828#issuecomment-445208626
revert-vfs-dont-open-real = rec {
name = "revert-vfs-dont-open-real";
patch = fetchpatch {
name = name + ".patch";
url = https://github.com/samueldr/linux/commit/ee23fa215caaa8102f4ab411d39fcad5858147f2.patch;
sha256 = "0bp4jryihg1y2sl8zlj6w7vvnxj0kmb6xdy42hpvdv43kb6ngiaq";
};
};
}

View File

@ -14560,6 +14560,7 @@ in
# when adding a new linux version
# kernelPatches.cpu-cgroup-v2."4.11"
kernelPatches.modinst_arg_list_too_long
kernelPatches.revert-vfs-dont-open-real
];
};
@ -14570,6 +14571,7 @@ in
# when adding a new linux version
# kernelPatches.cpu-cgroup-v2."4.11"
kernelPatches.modinst_arg_list_too_long
kernelPatches.revert-vfs-dont-open-real
];
};