linux_6_0: drop

EOLed by upstream, doesn't receive any patches anymore, so let's drop
it.

Currently depends on #211886 which bumps the latest compatible ZFS
version to 6.1.

Also, clean up some old aliases.

Changed files
+4 -43
nixos
pkgs
os-specific
linux
kernel
top-level
-1
nixos/tests/kernel-generic.nix
···
linux_5_4_hardened
linux_5_10_hardened
linux_5_15_hardened
-
linux_6_0_hardened
linux_6_1_hardened
linux_testing;
-10
pkgs/os-specific/linux/kernel/hardened/patches.json
···
"sha256": "1bx77x4x10v38ygfiz0dcw938ybczq7f3srg11ifzvwm243r5if5",
"version": "5.4.229"
},
-
"6.0": {
-
"patch": {
-
"extra": "-hardened1",
-
"name": "linux-hardened-6.0.19-hardened1.patch",
-
"sha256": "11yn5mrvs170685pwa9k7asxlv64vgfqfg2b6m5yn2a11pr1rxg5",
-
"url": "https://github.com/anthraxx/linux-hardened/releases/download/6.0.19-hardened1/linux-hardened-6.0.19-hardened1.patch"
-
},
-
"sha256": "01q2sciv3l9brnsfcv9knx1ps3hq9rk1a08iqk3vscg3waq7xqxb",
-
"version": "6.0.19"
-
},
"6.1": {
"patch": {
"extra": "-hardened1",
-18
pkgs/os-specific/linux/kernel/linux-6.0.nix
···
-
{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
-
-
with lib;
-
-
buildLinux (args // rec {
-
version = "6.0.19";
-
-
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
-
modDirVersion = versions.pad 3 version;
-
-
# branchVersion needs to be x.y
-
extraMeta.branch = versions.majorMinor version;
-
-
src = fetchurl {
-
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
-
sha256 = "01q2sciv3l9brnsfcv9knx1ps3hq9rk1a08iqk3vscg3waq7xqxb";
-
};
-
} // (args.argsOverride or { }))
-2
pkgs/top-level/aliases.nix
···
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_17 = linuxKernel.packages.linux_5_17;
linuxPackages_5_18 = linuxKernel.packages.linux_5_18;
linuxPackages_5_19 = linuxKernel.packages.linux_5_19;
linuxPackages_5_4 = linuxKernel.packages.linux_5_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_17 = linuxKernel.kernels.linux_5_17;
linux_5_18 = linuxKernel.kernels.linux_5_18;
linux_5_19 = linuxKernel.kernels.linux_5_19;
linux_5_4 = linuxKernel.kernels.linux_5_4;
+4 -12
pkgs/top-level/linux-kernels.nix
···
];
};
-
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";
linux_5_19 = throw "linux 5.19 was removed because it has reached its end of life upstream";
-
linux_6_0 = callPackage ../os-specific/linux/kernel/linux-6.0.nix {
-
kernelPatches = [
-
kernelPatches.bridge_stp_helper
-
kernelPatches.request_key_helper
-
];
-
};
+
linux_6_0 = throw "linux 6.0 was removed because it has reached its end of life upstream";
linux_6_1 = callPackage ../os-specific/linux/kernel/linux-6.1.nix {
kernelPatches = [
···
linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
linux_5_19_hardened = throw "linux 5.19 was removed because it has reached its end of life upstream";
-
linux_6_0_hardened = hardenedKernelFor kernels.linux_6_0 { };
+
linux_6_0_hardened = throw "linux 6.0 was removed because it has reached its end of life upstream";
linux_6_1_hardened = hardenedKernelFor kernels.linux_6_1 { };
}));
···
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_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
-
linux_6_0 = recurseIntoAttrs (packagesFor kernels.linux_6_0);
+
linux_6_0 = throw "linux 6.0 was removed because it reached its end of life upstream"; # Added 2023-01-20
linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1);
};
···
linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
linux_5_19_hardened = throw "linux 5.19 was removed because it has reached its end of life upstream";
-
linux_6_0_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_6_0 { });
+
linux_6_0_hardened = throw "linux 6.0 was removed because it has reached its end of life upstream";
linux_6_1_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_6_1 { });
linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);