forked from mirrors/nixpkgs
dd56bfbd00
Signed-off-by: Austin Seipp <aseipp@pobox.com>
28 lines
1,010 B
Nix
28 lines
1,010 B
Nix
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
import ./generic.nix (args // rec {
|
|
version = "3.4.95";
|
|
extraMeta.branch = "3.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
|
sha256 = "1rv2jsfc2m12nk293v12rvvqnicyh73pwp6bcb28jdqdhm95k6l6";
|
|
};
|
|
|
|
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;
|
|
}];
|
|
|
|
features.iwlwifi = true;
|
|
features.efiBootStub = true;
|
|
features.needsCifsUtils = true;
|
|
features.netfilterRPFilter = true;
|
|
})
|