2015-11-19 13:08:24 +00:00
|
|
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
|
|
|
|
|
|
|
import ./generic.nix (args // rec {
|
2015-12-10 15:26:33 +00:00
|
|
|
version = "3.14.58";
|
2015-11-19 13:08:24 +00:00
|
|
|
# Remember to update grsecurity!
|
|
|
|
extraMeta.branch = "3.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
2015-12-10 15:26:33 +00:00
|
|
|
sha256 = "0jw1023cpn4bjmi0db86lrxri9xj75cj8p2iqs44jabvh35idl7l";
|
2015-11-19 13:08:24 +00:00
|
|
|
};
|
|
|
|
|
2016-01-20 01:19:16 +00:00
|
|
|
kernelPatches = args.kernelPatches ++ [ { name = "cve-2016-0728"; patch = ./cve-2016-0728.patch; } ];
|
|
|
|
|
2015-11-19 13:08:24 +00:00
|
|
|
features.iwlwifi = true;
|
|
|
|
features.efiBootStub = true;
|
|
|
|
features.needsCifsUtils = true;
|
|
|
|
features.canDisableNetfilterConntrackHelpers = true;
|
|
|
|
features.netfilterRPFilter = true;
|
|
|
|
} // (args.argsOverride or {}))
|