mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
kernel: Add 3.18
This commit is contained in:
parent
3871539d3b
commit
a6f4c3624e
18
pkgs/os-specific/linux/kernel/linux-3.18.nix
Normal file
18
pkgs/os-specific/linux/kernel/linux-3.18.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "3.18";
|
||||
modDirVersion = "3.18.0";
|
||||
extraMeta.branch = "3.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
||||
sha256 = "1gcc33mnjay3wr61y0613hfvq99pbkb6dkm3ab6gbmz6r4y43k5y";
|
||||
};
|
||||
|
||||
features.iwlwifi = true;
|
||||
features.efiBootStub = true;
|
||||
features.needsCifsUtils = true;
|
||||
features.canDisableNetfilterConntrackHelpers = true;
|
||||
features.netfilterRPFilter = true;
|
||||
} // (args.argsOverride or {}))
|
@ -8260,6 +8260,15 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
linux_3_18 = makeOverridable (import ../os-specific/linux/kernel/linux-3.18.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
[ kernelPatches.mips_fpureg_emu
|
||||
kernelPatches.mips_fpu_sigill
|
||||
kernelPatches.mips_ext3_n32
|
||||
];
|
||||
};
|
||||
|
||||
linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
@ -8401,8 +8410,8 @@ let
|
||||
linuxPackages = linuxPackages_3_14;
|
||||
|
||||
# Update this when adding the newest kernel major version!
|
||||
linux_latest = pkgs.linux_3_17;
|
||||
linuxPackages_latest = pkgs.linuxPackages_3_17;
|
||||
linux_latest = pkgs.linux_3_18;
|
||||
linuxPackages_latest = pkgs.linuxPackages_3_18;
|
||||
|
||||
# Build the kernel modules for the some of the kernels.
|
||||
linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 linuxPackages_3_2);
|
||||
@ -8414,6 +8423,7 @@ let
|
||||
linuxPackages_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_14 linuxPackages_3_14);
|
||||
linuxPackages_3_16 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_16 linuxPackages_3_16);
|
||||
linuxPackages_3_17 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_17 linuxPackages_3_17);
|
||||
linuxPackages_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_18 linuxPackages_3_18);
|
||||
linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
|
||||
|
||||
# grsecurity flavors
|
||||
|
Loading…
Reference in New Issue
Block a user