forked from mirrors/nixpkgs
linux_5_17: remove
This commit is contained in:
parent
1d833f1783
commit
f0e3e98377
|
@ -30,7 +30,6 @@ let
|
|||
linux_5_4_hardened
|
||||
linux_5_10_hardened
|
||||
linux_5_15_hardened
|
||||
linux_5_17_hardened
|
||||
linux_5_18_hardened
|
||||
|
||||
linux_testing;
|
||||
|
|
|
@ -39,16 +39,6 @@
|
|||
"sha256": "1p2r02h2z0j34hpkp3kr4741pr15ii72b94zllravx27pa9phj9j",
|
||||
"version": "5.15.49"
|
||||
},
|
||||
"5.17": {
|
||||
"patch": {
|
||||
"extra": "-hardened1",
|
||||
"name": "linux-hardened-5.17.15-hardened1.patch",
|
||||
"sha256": "053zgg464rb8ca92hkzxqbffapmj0zs296af354b7jkgfpb5xzr1",
|
||||
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.17.15-hardened1/linux-hardened-5.17.15-hardened1.patch"
|
||||
},
|
||||
"sha256": "0a5n1lb43nhnhwjwclkk3dqp2nxsx5ny7zfl8idvzshf94m9472a",
|
||||
"version": "5.17.15"
|
||||
},
|
||||
"5.18": {
|
||||
"patch": {
|
||||
"extra": "-hardened1",
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:
|
||||
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.17.15";
|
||||
|
||||
# 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 = "0a5n1lb43nhnhwjwclkk3dqp2nxsx5ny7zfl8idvzshf94m9472a";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
|
@ -16,7 +16,7 @@
|
|||
, enablePython ? true
|
||||
|
||||
# for determining the latest compatible linuxPackages
|
||||
, linuxPackages_5_17 ? pkgs.linuxKernel.packages.linux_5_17
|
||||
, linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -217,7 +217,7 @@ in {
|
|||
zfsStable = common {
|
||||
# check the release notes for compatible kernels
|
||||
kernelCompatible = kernel.kernelOlder "5.18";
|
||||
latestCompatibleLinuxPackages = linuxPackages_5_17;
|
||||
latestCompatibleLinuxPackages = linuxPackages_5_15;
|
||||
|
||||
# this package should point to the latest release.
|
||||
version = "2.1.4";
|
||||
|
@ -228,7 +228,7 @@ in {
|
|||
zfsUnstable = common {
|
||||
# check the release notes for compatible kernels
|
||||
kernelCompatible = kernel.kernelOlder "5.18";
|
||||
latestCompatibleLinuxPackages = linuxPackages_5_17;
|
||||
latestCompatibleLinuxPackages = linuxPackages_5_15;
|
||||
|
||||
# this package should point to a version / git revision compatible with the latest kernel release
|
||||
# IMPORTANT: Always use a tagged release candidate or commits from the
|
||||
|
|
|
@ -23421,8 +23421,6 @@ with pkgs;
|
|||
linux_5_10_hardened = linuxKernel.kernels.linux_5_10_hardened;
|
||||
linuxPackages_5_15_hardened = linuxKernel.packages.linux_5_15_hardened;
|
||||
linux_5_15_hardened = linuxKernel.kernels.linux_5_15_hardened;
|
||||
linuxPackages_5_17_hardened = linuxKernel.packages.linux_5_17_hardened;
|
||||
linux_5_17_hardened = linuxKernel.kernels.linux_5_17_hardened;
|
||||
linuxPackages_5_18_hardened = linuxKernel.packages.linux_5_18_hardened;
|
||||
linux_5_18_hardened = linuxKernel.kernels.linux_5_18_hardened;
|
||||
|
||||
|
|
|
@ -162,12 +162,7 @@ in {
|
|||
|
||||
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 = [
|
||||
kernelPatches.bridge_stp_helper
|
||||
kernelPatches.request_key_helper
|
||||
];
|
||||
};
|
||||
linux_5_17 = throw "linux 5.17 was removed because it has reached its end of life upstream";
|
||||
|
||||
linux_5_18 = callPackage ../os-specific/linux/kernel/linux-5.18.nix {
|
||||
kernelPatches = [
|
||||
|
@ -189,7 +184,7 @@ in {
|
|||
else testing;
|
||||
|
||||
linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
|
||||
kernel = linux_5_17;
|
||||
kernel = linux_5_18;
|
||||
kernelPatches = kernel.kernelPatches;
|
||||
};
|
||||
|
||||
|
@ -243,7 +238,6 @@ in {
|
|||
linux_5_4_hardened = hardenedKernelFor kernels.linux_5_4 { };
|
||||
linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
|
||||
linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
|
||||
linux_5_17_hardened = hardenedKernelFor kernels.linux_5_17 { };
|
||||
linux_5_18_hardened = hardenedKernelFor kernels.linux_5_18 { };
|
||||
|
||||
}));
|
||||
|
@ -515,7 +509,7 @@ in {
|
|||
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 = recurseIntoAttrs (packagesFor kernels.linux_5_17);
|
||||
linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
|
||||
linux_5_18 = recurseIntoAttrs (packagesFor kernels.linux_5_18);
|
||||
};
|
||||
|
||||
|
@ -555,7 +549,6 @@ in {
|
|||
});
|
||||
linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
|
||||
linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
|
||||
linux_5_17_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_17 { });
|
||||
linux_5_18_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_18 { });
|
||||
|
||||
linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
|
||||
|
|
Loading…
Reference in a new issue