Unverified Commit 8d9133c6 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

linux_4_9: remove

Support will be dropped on 01 Jan 2023[1]. Normally we'd keep it around
until then, but considering that it's an LTS kernel it may be better to
do it before 22.11 to make sure there are no unpleasant surprises.

Closes #199933

[1] https://endoflife.date/linux
parent 76b655e4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -861,6 +861,12 @@
          for <literal>termonad</literal> has been removed.
        </para>
      </listitem>
      <listitem>
        <para>
          Linux 4.9 has been removed because it will reach its end of
          life within the lifespan of 22.11.
        </para>
      </listitem>
      <listitem>
        <para>
          (Neo)Vim can not be configured with
+2 −0
Original line number Diff line number Diff line
@@ -265,6 +265,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).

- The top-level `termonad-with-packages` alias for `termonad` has been removed.

- Linux 4.9 has been removed because it will reach its end of life within the lifespan of 22.11.

- (Neo)Vim can not be configured with `configure.pathogen` anymore to reduce maintainance burden.
  Use `configure.packages` instead.
- Neovim can not be configured with plug anymore (still works for vim).
+0 −784

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −12
Original line number Diff line number Diff line
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:

buildLinux (args // rec {
  version = "4.9.332";
  extraMeta.branch = "4.9";
  extraMeta.broken = stdenv.isAarch64;

  src = fetchurl {
    url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
    sha256 = "1kiqa9kw4932n5qglkyymsrak849wbbszw9rnq1aygmdinjz4c8i";
  };
} // (args.argsOverride or {}))
+2 −9
Original line number Diff line number Diff line
@@ -95,14 +95,7 @@ in {

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

    linux_4_9 = callPackage ../os-specific/linux/kernel/linux-4.9.nix {
      kernelPatches =
        [ kernelPatches.bridge_stp_helper
          kernelPatches.request_key_helper_updated
          kernelPatches.cpu-cgroup-v2."4.9"
          kernelPatches.modinst_arg_list_too_long
        ];
    };
    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 {
      kernelPatches =
@@ -519,7 +512,7 @@ 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 = recurseIntoAttrs (packagesFor kernels.linux_4_9);
    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);