3
0
Fork 0
forked from mirrors/nixpkgs

linux-rt_5_10: 5.10.1-rt20 -> 5.10.4-rt22

This commit is contained in:
Tim Steinbach 2021-01-09 15:25:50 -05:00
parent a9dfa241f4
commit 6973e51c02
No known key found for this signature in database
GPG key ID: 1B40229F19262402

View file

@ -6,7 +6,7 @@
, ... } @ args:
let
version = "5.10.1-rt20"; # updated by ./update-rt.sh
version = "5.10.4-rt22"; # updated by ./update-rt.sh
branch = lib.versions.majorMinor version;
kversion = builtins.elemAt (lib.splitString "-" version) 0;
in buildLinux (args // {
@ -18,14 +18,14 @@ in buildLinux (args // {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz";
sha256 = "0p2fl7kl4ckphq17xir7n7vgrzlhbdqmyd2yyp4yilwvih9625pd";
sha256 = "1v2nbpp21c3fkw23dgrrfznnnlvi0538kj8wrlb2m6g94rn3jklh";
};
kernelPatches = let rt-patch = {
name = "rt";
patch = fetchurl {
url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz";
sha256 = "0z8ljfcn908hzjl11fkmwrx2r7j0hcgpx07g21ag162qrn6g5qby";
sha256 = "1wnp7w3k1z10ipg8vzgyh22lpfya1p3ckabjadk9hadpa1ialma0";
};
}; in [ rt-patch ] ++ lib.remove rt-patch kernelPatches;