2013-07-31 23:56:48 +02:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
2012-05-22 17:29:51 +02:00
|
|
|
|
2013-07-31 23:56:48 +02:00
|
|
|
import ./generic.nix (args // rec {
|
2014-10-16 22:58:18 +02:00
|
|
|
version = "3.4.104";
|
2014-02-14 09:45:36 +01:00
|
|
|
extraMeta.branch = "3.4";
|
2012-05-22 17:29:51 +02:00
|
|
|
|
2013-07-31 23:56:48 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
2014-10-16 22:56:14 +02:00
|
|
|
sha256 = "0xf2w4lccws2pps89hmh7ry8n43wr9p65yvdajba4qfxxy5jvx4b";
|
2013-07-31 23:56:48 +02:00
|
|
|
};
|
2012-05-22 17:29:51 +02:00
|
|
|
|
2014-05-08 00:59:29 +02:00
|
|
|
kernelPatches = args.kernelPatches ++
|
|
|
|
[ { name = "0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file";
|
|
|
|
patch = ./apparmor-patches/3.4/0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file.patch;
|
|
|
|
}
|
|
|
|
{ name = "0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules";
|
|
|
|
patch = ./apparmor-patches/3.4/0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules.patch;
|
|
|
|
}
|
|
|
|
{ name = "0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou";
|
|
|
|
patch = ./apparmor-patches/3.4/0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou.patch;
|
|
|
|
}];
|
|
|
|
|
2013-07-31 23:56:48 +02:00
|
|
|
features.iwlwifi = true;
|
|
|
|
features.efiBootStub = true;
|
|
|
|
features.needsCifsUtils = true;
|
|
|
|
features.netfilterRPFilter = true;
|
|
|
|
})
|