2013-08-01 01:56:48 +04:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
2011-11-08 20:58:20 +04:00
|
|
|
|
2013-08-01 01:56:48 +04:00
|
|
|
import ./generic.nix (args // rec {
|
2014-08-14 21:48:06 +04:00
|
|
|
version = "3.2.62";
|
2014-02-14 12:45:36 +04:00
|
|
|
extraMeta.branch = "3.2";
|
2011-11-08 20:58:20 +04:00
|
|
|
|
2013-08-01 01:56:48 +04:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
2014-08-14 21:48:06 +04:00
|
|
|
sha256 = "1yrmar14p5y9xaj9df388xwjmwz8fnsxnid6rkxxk7dni5di8nqf";
|
2013-08-01 01:56:48 +04:00
|
|
|
};
|
2011-11-08 20:58:20 +04:00
|
|
|
|
2014-05-08 02:59:29 +04:00
|
|
|
# We don't provide these patches if grsecurity is enabled, because
|
|
|
|
# the grsec 3.2 -stable patchset already includes them.
|
|
|
|
kernelPatches = args.kernelPatches ++ (
|
2014-05-14 21:04:40 +04:00
|
|
|
stdenv.lib.optionals (!(args.features.grsecurity or false))
|
2014-05-08 02:59:29 +04:00
|
|
|
[ { name = "0001-AppArmor-compatibility-patch-for-v5-network-controll";
|
|
|
|
patch = ./apparmor-patches/3.2/0001-AppArmor-compatibility-patch-for-v5-network-controll.patch;
|
|
|
|
}
|
|
|
|
{ name = "0002-AppArmor-compatibility-patch-for-v5-interface";
|
|
|
|
patch = ./apparmor-patches/3.2/0002-AppArmor-compatibility-patch-for-v5-interface.patch;
|
|
|
|
}
|
|
|
|
{ name = "0003-AppArmor-Allow-dfa-backward-compatibility-with-broke";
|
|
|
|
patch = ./apparmor-patches/3.2/0003-AppArmor-Allow-dfa-backward-compatibility-with-broke.patch;
|
|
|
|
}]);
|
|
|
|
|
|
|
|
features.iwlwifi = true;
|
2014-01-29 22:06:45 +04:00
|
|
|
} // (args.argsOverride or {}))
|