Add linux 3.14

This commit is contained in:
Shea Levy
2014-03-31 20:54:47 -04:00
parent 073eab850a
commit 2d4ce25b5b
3 changed files with 32 additions and 2 deletions

View File

@@ -167,7 +167,9 @@ with stdenv.lib;
STRICT_DEVMEM y # Filter access to /dev/mem
SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
DEVKMEM n # Disable /dev/kmem
CC_STACKPROTECTOR y # Detect buffer overflows on the stack
${optionalString (versionOlder version "3.14") ''
CC_STACKPROTECTOR y # Detect buffer overflows on the stack
''}
${optionalString (versionAtLeast version "3.12") ''
USER_NS y # Support for user namespaces
''}

View File

@@ -0,0 +1,18 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
version = "3.14";
extraMeta.branch = "3.14";
modDirVersion = "3.14.0";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
sha256 = "61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa";
};
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))