From 5580ef0c6369d433687a52835dd39c54d658eb43 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 23 Apr 2022 14:01:41 +0200 Subject: [PATCH] linux_5_16: drop --- pkgs/os-specific/linux/kernel/linux-5.16.nix | 18 ------------------ pkgs/top-level/linux-kernels.nix | 11 +++-------- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 pkgs/os-specific/linux/kernel/linux-5.16.nix diff --git a/pkgs/os-specific/linux/kernel/linux-5.16.nix b/pkgs/os-specific/linux/kernel/linux-5.16.nix deleted file mode 100644 index e68e76597e3e..000000000000 --- a/pkgs/os-specific/linux/kernel/linux-5.16.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args: - -with lib; - -buildLinux (args // rec { - version = "5.16.20"; - - # modDirVersion needs to be x.y.z, will automatically add .0 if needed - modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; - - # branchVersion needs to be x.y - extraMeta.branch = versions.majorMinor version; - - src = fetchurl { - url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "09dz8zp8cxvsc5amrswqqrkxd3i92ay2samlcspalaw6iz40s1nq"; - }; -} // (args.argsOverride or { })) diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index e02802b88abe..d4eb5dcab21e 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -159,12 +159,7 @@ in { ]; }; - linux_5_16 = callPackage ../os-specific/linux/kernel/linux-5.16.nix { - kernelPatches = [ - kernelPatches.bridge_stp_helper - kernelPatches.request_key_helper - ]; - }; + linux_5_16 = throw "linux 5.16 was removed because it has reached its end of life upstream"; linux_5_17 = callPackage ../os-specific/linux/kernel/linux-5.17.nix { kernelPatches = [ @@ -186,7 +181,7 @@ in { else testing; linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec { - kernel = linux_5_16; + kernel = linux_5_17; kernelPatches = kernel.kernelPatches; }; @@ -503,7 +498,7 @@ in { 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 = recurseIntoAttrs (packagesFor kernels.linux_5_16); + linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23 linux_5_17 = recurseIntoAttrs (packagesFor kernels.linux_5_17); };