3
0
Fork 0
forked from mirrors/nixpkgs

linux-rt_5_10: 5.10.8-rt24 -> 5.10.12-rt26

This commit is contained in:
Tim Steinbach 2021-02-04 10:41:54 -05:00 committed by Tim Steinbach
parent 13bc895a8f
commit 8ae81a4c89

View file

@ -6,7 +6,7 @@
, ... } @ args:
let
version = "5.10.8-rt24"; # updated by ./update-rt.sh
version = "5.10.12-rt26"; # 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 = "1v83wm8xbhq1sgn7c84zi7l40vmd9k1gb653b686jp8n4na85z2w";
sha256 = "1an460q3affd7gmd6fqv8g37j3z2fnmq19iy677k8kxb2wl4yi8x";
};
kernelPatches = let rt-patch = {
name = "rt";
patch = fetchurl {
url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz";
sha256 = "06fqwx9flcxzbjr9gb0d7v4hidypzz69r6p2mfzhqh7ii0p89f30";
sha256 = "06sb7cj24v4kh7zghndpxv95pkihahc7653lxdw4wj9jhi58bs2k";
};
}; in [ rt-patch ] ++ lib.remove rt-patch kernelPatches;