forked from mirrors/nixpkgs
apparmor: Update to kernel 3.4 series (the current default)
This commit is contained in:
parent
b52621a5fe
commit
22689567ed
|
@ -55,6 +55,13 @@ rec {
|
|||
features.apparmor = true;
|
||||
};
|
||||
|
||||
apparmor_3_4 = rec {
|
||||
version = "3.4";
|
||||
name = "apparmor-${version}";
|
||||
patch = makeAppArmorPatch { inherit apparmor version; };
|
||||
features.apparmor = true;
|
||||
};
|
||||
|
||||
sec_perm_2_6_24 =
|
||||
{ name = "sec_perm-2.6.24";
|
||||
patch = ./sec_perm-2.6.24.patch;
|
||||
|
|
|
@ -6373,6 +6373,14 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
linux_3_4_apparmor = linux_3_4.override {
|
||||
kernelPatches = [ kernelPatches.apparmor_3_4 ];
|
||||
extraConfig = ''
|
||||
SECURITY_APPARMOR y
|
||||
DEFAULT_SECURITY_APPARMOR y
|
||||
'';
|
||||
};
|
||||
|
||||
linux_3_6_rpi = makeOverridable (import ../os-specific/linux/kernel/linux-rpi-3.6.nix) {
|
||||
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
||||
};
|
||||
|
@ -6534,6 +6542,7 @@ let
|
|||
linuxPackages_3_2_apparmor = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2_apparmor linuxPackages_3_2_apparmor);
|
||||
linuxPackages_3_2_xen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2_xen linuxPackages_3_2_xen);
|
||||
linuxPackages_3_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_4 linuxPackages_3_4);
|
||||
linuxPackages_3_4_apparmor = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_4_apparmor linuxPackages_3_4_apparmor);
|
||||
linuxPackages_3_6_rpi = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_6_rpi linuxPackages_3_6_rpi);
|
||||
linuxPackages_3_8 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_8 linuxPackages_3_8);
|
||||
linuxPackages_3_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_9 linuxPackages_3_9);
|
||||
|
|
Loading…
Reference in a new issue