git.iko.soy/typeable/nixpkgs
on master help sign in
Re-Revert "linux: Init 5.8"

This reverts commit fee8c0ae0739f847241fc1de2b619b4057e818a1. The required systemd update was done in 9f911ab1b5; test works for me: nix build -f nixos/release.nix tests.latestKernel.login.x86_64-linux

commit9da079c6ff5e2870485ed014fe388a5c67997535 authorVladimír Čunát <v@cunat.cz> dateWed 12 Aug 2020, 19:10 (6 years ago) parent0ac85bc
2 files changed+28−1
pkgs/os-specific/linux/kernel/linux-5.8.nix+18 pkgs/top-level/all-packages.nix+10−1
pkgs/os-specific/linux/kernel/linux-5.8.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
2+
3+with stdenv.lib;
4+
5+buildLinux (args // rec {
6+ version = "5.8";
7+
8+ # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9+ modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
10+
11+ # branchVersion needs to be x.y
12+ extraMeta.branch = versions.majorMinor version;
13+
14+ src = fetchurl {
15+ url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "1xgibkwb1yfl6qdlbxyagai0qc1pk5ark7giz1512hh6ma353xz7";
17+ };
18+} // (args.argsOverride or {}))
pkgs/top-level/all-packages.nix+10−1
@@ -17401,6 +17401,14 @@ in
1740117401 ];
1740217402 };
1740317403
17404+ linux_5_8 = callPackage ../os-specific/linux/kernel/linux-5.8.nix {
17405+ kernelPatches = [
17406+ kernelPatches.bridge_stp_helper
17407+ kernelPatches.request_key_helper
17408+ kernelPatches.export_kernel_fpu_functions."5.3"
17409+ ];
17410+ };
17411+
1740417412 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1740517413 kernelPatches = [
1740617414 kernelPatches.bridge_stp_helper
@@ -17624,7 +17632,7 @@ in
1762417632
1762517633 # Update this when adding the newest kernel major version!
1762617634 # And update linux_latest_for_hardened below if the patches are already available
17627− linuxPackages_latest = linuxPackages_5_7;
17635+ linuxPackages_latest = linuxPackages_5_8;
1762817636 linux_latest = linuxPackages_latest.kernel;
1762917637
1763017638 # Build the kernel modules for the some of the kernels.
@@ -17639,6 +17647,7 @@ in
1763917647 linuxPackages_4_19 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_19);
1764017648 linuxPackages_5_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_4);
1764117649 linuxPackages_5_7 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_7);
17650+ linuxPackages_5_8 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_8);
1764217651
1764317652 # When adding to this list:
1764417653 # - Update linuxPackages_latest to the latest version