2015-09-15 05:27:19 +01:00
|
|
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
2015-06-22 20:41:23 +01:00
|
|
|
|
|
|
|
import ./generic.nix (args // rec {
|
2016-01-15 17:32:23 +00:00
|
|
|
version = "4.1.15";
|
2015-06-22 20:41:23 +01:00
|
|
|
extraMeta.branch = "4.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
2016-01-15 17:32:23 +00:00
|
|
|
sha256 = "18sr0dl5ax6pcx6nqp9drb4l6a38g07vxihiqpbwb231jv68h8j7";
|
2015-06-22 20:41:23 +01:00
|
|
|
};
|
|
|
|
|
2016-01-20 01:19:16 +00:00
|
|
|
kernelPatches = args.kernelPatches ++ [ { name = "cve-2016-0728"; patch = ./cve-2016-0728.patch; } ];
|
|
|
|
|
2015-06-22 20:41:23 +01:00
|
|
|
features.iwlwifi = true;
|
|
|
|
features.efiBootStub = true;
|
|
|
|
features.needsCifsUtils = true;
|
|
|
|
features.canDisableNetfilterConntrackHelpers = true;
|
|
|
|
features.netfilterRPFilter = true;
|
|
|
|
} // (args.argsOverride or {}))
|