Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.45 KB | None | 0 0
  1. diff --git a/pkgs/os-specific/linux/kernel/linux-4.9.nix b/pkgs/os-specific/linux/kernel/linux-4.9.nix
  2. index 1c7cc7b2f15..7ced7f1dbdf 100644
  3. --- a/pkgs/os-specific/linux/kernel/linux-4.9.nix
  4. +++ b/pkgs/os-specific/linux/kernel/linux-4.9.nix
  5. @@ -1,11 +1,12 @@
  6.  { stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
  7.  
  8.  import ./generic.nix (args // rec {
  9. -  version = "4.9.74";
  10. +  version = "4.9.75-rc1";
  11.    extraMeta.branch = "4.9";
  12.  
  13.    src = fetchurl {
  14. -    url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
  15. +    url = "mirror://kernel/linux/kernel/v4.x/linux-4.9.74.tar.xz";
  16.      sha256 = "1ivhzmsa8n5ns8igryzb9dyaakq2p51j23f6j9kpqyby7842i1y8";
  17.    };
  18. +
  19.  } // (args.argsOverride or {}))
  20. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
  21. index 1ce681f3625..3f24cf0998d 100644
  22. --- a/pkgs/top-level/all-packages.nix
  23. +++ b/pkgs/top-level/all-packages.nix
  24. @@ -12315,6 +12315,12 @@ with pkgs;
  25.        [ kernelPatches.bridge_stp_helper
  26.          kernelPatches.cpu-cgroup-v2."4.9"
  27.          kernelPatches.modinst_arg_list_too_long
  28. +        { name = "kpti";
  29. +          patch = fetchurl {
  30. +            url = https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.75-rc1.xz;
  31. +            sha256 = "0685bdmdj2v4fiash19sqi17h39r0hqx9a6dvmwchkwx5g9f90hs";
  32. +          };
  33. +        }
  34.        ]
  35.        ++ lib.optionals ((platform.kernelArch or null) == "mips")
  36.        [ kernelPatches.mips_fpureg_emu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement