Unverified Commit 36d5e265 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

linuxKernels: remove attrs for kernels EOLed before 22.05

Now that we actually do cleanups for 22.11, it's a good time to
drop these tombstones from before 22.05. For dropped kernel attributes
one NixOS release is IMHO enough as a grace period.
parent 8d9133c6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -801,11 +801,9 @@ mapAliases ({
  linux-rt_5_4 = linuxKernel.kernels.linux_rt_5_4;
  linuxPackages_4_14 = linuxKernel.packages.linux_4_14;
  linuxPackages_4_19 = linuxKernel.packages.linux_4_19;
  linuxPackages_4_4 = linuxKernel.packages.linux_4_4;
  linuxPackages_4_9 = linuxKernel.packages.linux_4_9;
  linuxPackages_5_10 = linuxKernel.packages.linux_5_10;
  linuxPackages_5_15 = linuxKernel.packages.linux_5_15;
  linuxPackages_5_16 = linuxKernel.packages.linux_5_16;
  linuxPackages_5_17 = linuxKernel.packages.linux_5_17;
  linuxPackages_5_18 = linuxKernel.packages.linux_5_18;
  linuxPackages_5_19 = linuxKernel.packages.linux_5_19;
@@ -822,11 +820,9 @@ mapAliases ({
  linuxPackages_rt_5_4 = linuxKernel.packages.linux_rt_5_4;
  linux_4_14 = linuxKernel.kernels.linux_4_14;
  linux_4_19 = linuxKernel.kernels.linux_4_19;
  linux_4_4 = linuxKernel.kernels.linux_4_4;
  linux_4_9 = linuxKernel.kernels.linux_4_9;
  linux_5_10 = linuxKernel.kernels.linux_5_10;
  linux_5_15 = linuxKernel.kernels.linux_5_15;
  linux_5_16 = linuxKernel.kernels.linux_5_16;
  linux_5_17 = linuxKernel.kernels.linux_5_17;
  linux_5_18 = linuxKernel.kernels.linux_5_18;
  linux_5_19 = linuxKernel.kernels.linux_5_19;
+0 −6
Original line number Diff line number Diff line
@@ -93,8 +93,6 @@ in {
      rpiVersion = 4;
    };

    linux_4_4 = throw "linux 4.4 was removed because it reached its end of life upstream";

    linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11";

    linux_4_14 = callPackage ../os-specific/linux/kernel/linux-4.14.nix {
@@ -153,8 +151,6 @@ in {
      ];
    };

    linux_5_16 = throw "linux 5.16 was removed because it has reached its end of life upstream";

    linux_5_17 = throw "linux 5.17 was removed because it has reached its end of life upstream";

    linux_5_18 = throw "linux 5.18 was removed because it has reached its end of life upstream";
@@ -511,14 +507,12 @@ in {

  vanillaPackages = {
    # recurse to build modules for the kernels
    linux_4_4 = throw "linux 4.4 was removed because it reached its end of life upstream"; # Added 2022-02-11
    linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08
    linux_4_14 = recurseIntoAttrs (packagesFor kernels.linux_4_14);
    linux_4_19 = recurseIntoAttrs (packagesFor kernels.linux_4_19);
    linux_5_4 = recurseIntoAttrs (packagesFor kernels.linux_5_4);
    linux_5_10 = recurseIntoAttrs (packagesFor kernels.linux_5_10);
    linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
    linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
    linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
    linux_5_18 = throw "linux 5.18 was removed because it reached its end of life upstream"; # Added 2022-09-17
    linux_5_19 = throw "linux 5.19 was removed because it reached its end of life upstream"; # Added 2022-11-01