Add linux 3.2.48 with grsecurity patches
This commit is contained in:
parent
212a2a5c37
commit
af2a127551
|
@ -1,7 +1,7 @@
|
|||
source $stdenv/setup
|
||||
|
||||
|
||||
makeFlags="ARCH=$arch SHELL=/bin/sh"
|
||||
makeFlags="ARCH=$arch SHELL=/bin/sh $makeFlags"
|
||||
if [ -n "$crossConfig" ]; then
|
||||
makeFlags="$makeFlags CROSS_COMPILE=$crossConfig-"
|
||||
fi
|
||||
|
|
|
@ -154,6 +154,15 @@ rec {
|
|||
patch = ./mips-ext3-n32.patch;
|
||||
};
|
||||
|
||||
grsecurity_2_9_1_3_2_48 =
|
||||
{ name = "grsecurity-2.9.1-3.2.48";
|
||||
patch =
|
||||
(fetchurl {
|
||||
url = http://grsecurity.net/stable/grsecurity-2.9.1-3.2.48-201307212241.patch;
|
||||
sha256 = "1llgrcd7ynxx60dn05bcbysd6a1091wwxkck4d15gvp71s9r6scm";
|
||||
});
|
||||
};
|
||||
|
||||
guruplug_defconfig =
|
||||
{ # Default configuration for the GuruPlug. From
|
||||
# <http://www.openplug.org/plugwiki/images/c/c6/Guruplug-patchset-2.6.33.2.tar.bz2>.
|
||||
|
|
|
@ -6348,6 +6348,10 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
linux_3_2_grsecurity = lib.overrideDerivation (linux_3_2.override (args: {
|
||||
kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_2_9_1_3_2_48 ];
|
||||
})) (args: { makeFlags = "DISABLE_PAX_PLUGINS=y";});
|
||||
|
||||
linux_3_2_apparmor = linux_3_2.override {
|
||||
kernelPatches = [ kernelPatches.apparmor_3_2 ];
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Reference in New Issue