Add linux 3.14
This commit is contained in:
@@ -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
|
||||
''}
|
||||
|
||||
18
pkgs/os-specific/linux/kernel/linux-3.14.nix
Normal file
18
pkgs/os-specific/linux/kernel/linux-3.14.nix
Normal 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 {}))
|
||||
Reference in New Issue
Block a user