Revert "kernel: Remove unsupported 3.10, 3.12, 3.14"

This reverts commit 2441e002e26d60e62306ae03a2c0d42fe156f129. The
motivation for removing them was not very convincing. Also, we need
3.14 on some Hydra build machines.

+84 -1
+1 -1
pkgs/build-support/grsecurity/default.nix
··· 32 32 stable-patch = with pkgs.kernelPatches; grsecurity_stable; 33 33 34 34 grKernel = if cfg.stable 35 - then throw "Grsecurity stable no longer supported due to https://grsecurity.net/announce.php" 35 + then mkKernel pkgs.linux_3_14 stable-patch 36 36 else mkKernel pkgs.linux_4_2 test-patch; 37 37 38 38 ## -- grsecurity configuration ---------------------------------------------
+17
pkgs/os-specific/linux/kernel/linux-3.10.nix
··· 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 + 3 + import ./generic.nix (args // rec { 4 + version = "3.10.92"; 5 + extraMeta.branch = "3.10"; 6 + 7 + src = fetchurl { 8 + url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "0z0jdix1mfpnnc8cxw7rzpnhxdayckpnrasvxi1qf0dwhcqgk92d"; 10 + }; 11 + 12 + features.iwlwifi = true; 13 + features.efiBootStub = true; 14 + features.needsCifsUtils = true; 15 + features.canDisableNetfilterConntrackHelpers = true; 16 + features.netfilterRPFilter = true; 17 + })
+17
pkgs/os-specific/linux/kernel/linux-3.12.nix
··· 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 + 3 + import ./generic.nix (args // rec { 4 + version = "3.12.50"; 5 + extraMeta.branch = "3.12"; 6 + 7 + src = fetchurl { 8 + url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "1bn07wsrcbg4qgqd4v2810c3qc0ifbcza0fyj8s54yd78g9qj4lj"; 10 + }; 11 + 12 + features.iwlwifi = true; 13 + features.efiBootStub = true; 14 + features.needsCifsUtils = true; 15 + features.canDisableNetfilterConntrackHelpers = true; 16 + features.netfilterRPFilter = true; 17 + })
+18
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 + 3 + import ./generic.nix (args // rec { 4 + version = "3.14.56"; 5 + # Remember to update grsecurity! 6 + extraMeta.branch = "3.14"; 7 + 8 + src = fetchurl { 9 + url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 10 + sha256 = "1ggvjrz51nfhj7amn3v2nd0b0x8dnz68k9cldzl729cqp9gsc3hf"; 11 + }; 12 + 13 + features.iwlwifi = true; 14 + features.efiBootStub = true; 15 + features.needsCifsUtils = true; 16 + features.canDisableNetfilterConntrackHelpers = true; 17 + features.netfilterRPFilter = true; 18 + } // (args.argsOverride or {}))
+31
pkgs/top-level/all-packages.nix
··· 9902 9902 kernelPatches = [ kernelPatches.bridge_stp_helper ]; 9903 9903 }; 9904 9904 9905 + linux_3_10 = callPackage ../os-specific/linux/kernel/linux-3.10.nix { 9906 + kernelPatches = [ kernelPatches.bridge_stp_helper ] 9907 + ++ lib.optionals ((platform.kernelArch or null) == "mips") 9908 + [ kernelPatches.mips_fpureg_emu 9909 + kernelPatches.mips_fpu_sigill 9910 + kernelPatches.mips_ext3_n32 9911 + ]; 9912 + }; 9913 + 9914 + linux_3_12 = callPackage ../os-specific/linux/kernel/linux-3.12.nix { 9915 + kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.crc_regression ] 9916 + ++ lib.optionals ((platform.kernelArch or null) == "mips") 9917 + [ kernelPatches.mips_fpureg_emu 9918 + kernelPatches.mips_fpu_sigill 9919 + kernelPatches.mips_ext3_n32 9920 + ]; 9921 + }; 9922 + 9923 + linux_3_14 = callPackage ../os-specific/linux/kernel/linux-3.14.nix { 9924 + kernelPatches = [ kernelPatches.bridge_stp_helper ] 9925 + ++ lib.optionals ((platform.kernelArch or null) == "mips") 9926 + [ kernelPatches.mips_fpureg_emu 9927 + kernelPatches.mips_fpu_sigill 9928 + kernelPatches.mips_ext3_n32 9929 + ]; 9930 + }; 9931 + 9905 9932 linux_3_18 = callPackage ../os-specific/linux/kernel/linux-3.18.nix { 9906 9933 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9907 9934 ++ lib.optionals ((platform.kernelArch or null) == "mips") ··· 10105 10132 10106 10133 # Build the kernel modules for the some of the kernels. 10107 10134 linuxPackages_rpi = linuxPackagesFor pkgs.linux_rpi linuxPackages_rpi; 10135 + linuxPackages_3_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_10 linuxPackages_3_10); 10136 + linuxPackages_3_10_tuxonice = linuxPackagesFor pkgs.linux_3_10_tuxonice linuxPackages_3_10_tuxonice; 10137 + linuxPackages_3_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_12 linuxPackages_3_12); 10138 + linuxPackages_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_14 linuxPackages_3_14); 10108 10139 linuxPackages_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_18 linuxPackages_3_18); 10109 10140 linuxPackages_4_1 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_1 linuxPackages_4_1); 10110 10141 linuxPackages_4_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_2 linuxPackages_4_2);