lol

Remove Linux 3.2 and 3.4

These are not supported by systemd so no reason to keep them around.

(cherry picked from commit ee10e165dcc23f7b1855072f5a1f208dcdeead93)

Conflicts:
pkgs/os-specific/linux/kernel/linux-3.4.nix

-70
-27
pkgs/os-specific/linux/kernel/linux-3.2.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 2 - 3 - import ./generic.nix (args // rec { 4 - version = "3.2.69"; 5 - extraMeta.branch = "3.2"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "0fs7aj3vn51dlx7yfgkx05qpki2msh6j2irwajd9bw0l26cbycd3"; 10 - }; 11 - 12 - # We don't provide these patches if grsecurity is enabled, because 13 - # the grsec 3.2 -stable patchset already includes them. 14 - kernelPatches = args.kernelPatches ++ ( 15 - stdenv.lib.optionals (!(args.features.grsecurity or false)) 16 - [ { name = "0001-AppArmor-compatibility-patch-for-v5-network-controll"; 17 - patch = ./apparmor-patches/3.2/0001-AppArmor-compatibility-patch-for-v5-network-controll.patch; 18 - } 19 - { name = "0002-AppArmor-compatibility-patch-for-v5-interface"; 20 - patch = ./apparmor-patches/3.2/0002-AppArmor-compatibility-patch-for-v5-interface.patch; 21 - } 22 - { name = "0003-AppArmor-Allow-dfa-backward-compatibility-with-broke"; 23 - patch = ./apparmor-patches/3.2/0003-AppArmor-Allow-dfa-backward-compatibility-with-broke.patch; 24 - }]); 25 - 26 - features.iwlwifi = true; 27 - } // (args.argsOverride or {}))
-27
pkgs/os-specific/linux/kernel/linux-3.4.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 2 - 3 - import ./generic.nix (args // rec { 4 - version = "3.4.108"; 5 - extraMeta.branch = "3.4"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "0xdycfbn2j398n1763zkhiv08xsya52acic1zign4s315b45pijm"; 10 - }; 11 - 12 - kernelPatches = args.kernelPatches ++ 13 - [ { name = "0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file"; 14 - patch = ./apparmor-patches/3.4/0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file.patch; 15 - } 16 - { name = "0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules"; 17 - patch = ./apparmor-patches/3.4/0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules.patch; 18 - } 19 - { name = "0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou"; 20 - patch = ./apparmor-patches/3.4/0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou.patch; 21 - }]; 22 - 23 - features.iwlwifi = true; 24 - features.efiBootStub = true; 25 - features.needsCifsUtils = true; 26 - features.netfilterRPFilter = true; 27 - })
-16
pkgs/top-level/all-packages.nix
··· 9608 9608 9609 9609 kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { }; 9610 9610 9611 - linux_3_2 = makeOverridable (import ../os-specific/linux/kernel/linux-3.2.nix) { 9612 - inherit fetchurl stdenv perl buildLinux; 9613 - kernelPatches = [ kernelPatches.bridge_stp_helper ]; 9614 - }; 9615 - 9616 - linux_3_4 = makeOverridable (import ../os-specific/linux/kernel/linux-3.4.nix) { 9617 - inherit fetchurl stdenv perl buildLinux; 9618 - kernelPatches = [ kernelPatches.bridge_stp_helper ] 9619 - ++ lib.optionals ((platform.kernelArch or null) == "mips") 9620 - [ kernelPatches.mips_fpureg_emu 9621 - kernelPatches.mips_fpu_sigill 9622 - ]; 9623 - }; 9624 - 9625 9611 linux_rpi = makeOverridable (import ../os-specific/linux/kernel/linux-rpi.nix) { 9626 9612 inherit fetchurl stdenv perl buildLinux; 9627 9613 kernelPatches = [ kernelPatches.bridge_stp_helper ]; ··· 9866 9852 linux_latest = linuxPackages_latest.kernel; 9867 9853 9868 9854 # Build the kernel modules for the some of the kernels. 9869 - linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 linuxPackages_3_2); 9870 - linuxPackages_3_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_4 linuxPackages_3_4); 9871 9855 linuxPackages_rpi = linuxPackagesFor pkgs.linux_rpi linuxPackages_rpi; 9872 9856 linuxPackages_3_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_10 linuxPackages_3_10); 9873 9857 linuxPackages_3_10_tuxonice = linuxPackagesFor pkgs.linux_3_10_tuxonice linuxPackages_3_10_tuxonice;