packages/linux-lava: bump to 5.17.0-rc2
This commit is contained in:
parent
54abb6e1c5
commit
f768eb6fa7
1 changed files with 17 additions and 20 deletions
|
|
@ -1,51 +1,48 @@
|
||||||
{ fetchFromGitHub, inputs, lib }:
|
{ fetchFromGitHub, inputs, lib }:
|
||||||
let
|
let
|
||||||
version = "5.15.13";
|
rc = "-rc2";
|
||||||
kernelHash = "1s0yk78kilcr3vd14k67cmllnrx0x0i00jdkl5kkn3lij5lwzcjp";
|
version = "5.17.0${rc}";
|
||||||
kernelPatchHash = "044y7mmla0f73mky24vpvl8ba3warfr6im97s1231gjxican40v6";
|
kernelHash = "14za6421w889a7j8skd63r0gywnha0kjbl5m2wwi4j8y6d6jim4d";
|
||||||
|
#kernelPatchHash = "044y7mmla0f73mky24vpvl8ba3warfr6im97s1231gjxican40v6";
|
||||||
|
|
||||||
tkgPatches = [
|
tkgPatches = [
|
||||||
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
||||||
"0002-clear-patches"
|
"0002-clear-patches"
|
||||||
"0002-mm-Support-soft-dirty-flag-read-with-reset"
|
"0002-mm-Support-soft-dirty-flag-read-with-reset"
|
||||||
"0003-glitched-base"
|
"0003-glitched-base"
|
||||||
"0007-v${mm}-futex_waitv"
|
|
||||||
"0007-v${mm}-fsync1_via_futex_waitv"
|
"0007-v${mm}-fsync1_via_futex_waitv"
|
||||||
"0007-v${mm}-winesync"
|
"0007-v${mm}-winesync"
|
||||||
"0009-prjc_v5.15-r1"
|
"0009-prjc_v5.17-r0"
|
||||||
"0009-glitched-ondemand-bmq"
|
"0009-glitched-ondemand-bmq"
|
||||||
"0005-glitched-pds"
|
"0005-glitched-pds"
|
||||||
"0012-misc-additions"
|
"0012-misc-additions"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
patch = path: {
|
patch = path: {
|
||||||
name = "patch-${path}";
|
name = "patch-${path}";
|
||||||
patch = path;
|
patch = path;
|
||||||
};
|
};
|
||||||
kernelPatchSrc = {
|
# kernelPatchSrc = {
|
||||||
name = "patch";
|
# name = "patch";
|
||||||
patch = builtins.fetchurl {
|
# patch = builtins.fetchurl {
|
||||||
url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz";
|
# url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz";
|
||||||
sha256 = kernelPatchHash;
|
# sha256 = kernelPatchHash;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
mm = lib.versions.majorMinor version;
|
mm = lib.versions.majorMinor version;
|
||||||
in {
|
in {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = builtins.fetchurl {
|
src = builtins.fetchurl {
|
||||||
url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/linux-${mm}.tar.xz";
|
url = "https://git.kernel.org/torvalds/t/linux-${mm}${rc}.tar.gz";
|
||||||
sha256 = kernelHash;
|
sha256 = kernelHash;
|
||||||
};
|
};
|
||||||
|
# src = builtins.fetchurl {
|
||||||
|
# url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/linux-${mm}.tar.xz";
|
||||||
|
# sha256 = kernelHash;
|
||||||
|
# };
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
# This is dumb but nix strips FHS paths *before* patching (why???????) so patches might fail to apply
|
|
||||||
# This "unpatch patch" fixes one such patch failure, then reapplys the stripped FHS path in
|
|
||||||
# the "repatch patch" (even though the affected file isn't really used but w/e)
|
|
||||||
(patch ./unpatch.patch)
|
|
||||||
kernelPatchSrc
|
|
||||||
(patch ./repatch.patch)
|
|
||||||
(patch ./si-manual-clocking.patch)
|
(patch ./si-manual-clocking.patch)
|
||||||
]
|
]
|
||||||
++ builtins.map (name: {
|
++ builtins.map (name: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue