summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-04-23 14:01:41 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-04-28 10:10:25 +0000
commit495c783f145128d5e4a20e7857b9a18b53220ef9 (patch)
tree15c8794f9ae60ca56de34cedea838fd975ef4b6f
parentlinux/hardened/patches/5.4: 5.4.182-hardened1 -> 5.4.190-hardened1 (diff)
downloadnixpkgs-495c783f145128d5e4a20e7857b9a18b53220ef9.tar.gz
linux_5_16: drop
(cherry picked from commit 5580ef0c6369d433687a52835dd39c54d658eb43)
-rw-r--r--pkgs/os-specific/linux/kernel/linux-5.16.nix18
-rw-r--r--pkgs/top-level/linux-kernels.nix11
2 files changed, 3 insertions, 26 deletions
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 06702c421c32..ac5c3d6cf9d2 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;
};
@@ -472,7 +467,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);
};