Commit 84cc06af authored by Alyssa Ross's avatar Alyssa Ross
Browse files

linux_latest: 5.18.15 -> 5.19

parent d393d6ce
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:

with lib;

buildLinux (args // rec {
  version = "5.19";

  # 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 = "1a05a3hw4w3k530mxhns96xw7hag743xw5w967yazqcykdbhq97z";
  };
} // (args.argsOverride or { }))
+9 −1
Original line number Diff line number Diff line
@@ -175,6 +175,13 @@ in {
      ];
    };

    linux_5_19 = callPackage ../os-specific/linux/kernel/linux-5.19.nix {
      kernelPatches = [
        kernelPatches.bridge_stp_helper
        kernelPatches.request_key_helper
      ];
    };

    linux_testing = let
      testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
        kernelPatches = [
@@ -522,6 +529,7 @@ in {
    linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
    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);
    linux_5_19 = recurseIntoAttrs (packagesFor kernels.linux_5_19);
  };

  rtPackages = {
@@ -578,7 +586,7 @@ in {
  packageAliases = {
    linux_default = packages.linux_5_15;
    # Update this when adding the newest kernel major version!
    linux_latest = packages.linux_5_18;
    linux_latest = packages.linux_5_19;
    linux_mptcp = packages.linux_mptcp_95;
    linux_rt_default = packages.linux_rt_5_4;
    linux_rt_latest = packages.linux_rt_5_10;