bump and change kernel 5.12.7 -> 5.12.8
use buildLinux instead of linuxManualConfig since we have github do all the building and i dont want to deal with missing modules that nix needs. also, maintainability +10000%
This commit is contained in:
parent
a9c5ade29d
commit
fee82a5eab
2 changed files with 15 additions and 6590 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
self: super: {
|
self: super: {
|
||||||
linux-lava = (super.linuxManualConfig (
|
linux-lava = super.buildLinux (
|
||||||
let
|
let
|
||||||
major = "5";
|
major = "5";
|
||||||
minor = "12";
|
minor = "12";
|
||||||
patch = "7";
|
patch = "8";
|
||||||
tkg = "6006c78ceaae9ca344682db51d225576a4ff9914";
|
tkg = "6006c78ceaae9ca344682db51d225576a4ff9914";
|
||||||
|
|
||||||
mm = "${major}.${minor}";
|
mm = "${major}.${minor}";
|
||||||
|
|
@ -22,18 +22,27 @@ self: super: {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
inherit (super) lib stdenv;
|
|
||||||
version = "${mmp}-tkg-Lava";
|
version = "${mmp}-tkg-Lava";
|
||||||
allowImportFromDerivation = true;
|
|
||||||
configfile = ./misc/kernel.config;
|
|
||||||
isZen = true;
|
isZen = true;
|
||||||
|
structuredExtraConfig = with super.lib.kernel; {
|
||||||
|
CONFIG_LOCALVERSION = freeform "-tkg-Lava";
|
||||||
|
CONFIG_ZENIFY = yes;
|
||||||
|
CONFIG_FUTEX2 = yes;
|
||||||
|
CONFIG_SCHED_ALT = yes;
|
||||||
|
CONFIG_SCHED_PDS = yes;
|
||||||
|
CONFIG_MHASWELL = yes;
|
||||||
|
CONFIG_NO_HZ = yes;
|
||||||
|
CONFIG_NO_HZ_IDLE = yes;
|
||||||
|
CONFIG_HZ_100 = yes;
|
||||||
|
CONFIG_WINESYNC = yes;
|
||||||
|
};
|
||||||
|
|
||||||
src = kernelUrl "linux-${mm}.tar" "0rn3z942vjc7bixjw066rm6kcr0x0wzgxqfq1f6xd113pzrgc3bx";
|
src = kernelUrl "linux-${mm}.tar" "0rn3z942vjc7bixjw066rm6kcr0x0wzgxqfq1f6xd113pzrgc3bx";
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
# Kernel version patch
|
# Kernel version patch
|
||||||
{
|
{
|
||||||
name = "patch-${patch}";
|
name = "patch-${patch}";
|
||||||
patch = kernelUrl "patch-${mmp}" "1yfjc32xmx7rhx2glbv4x0968wfdyxbchs5z4w7gxha5nam0rl1d";
|
patch = kernelUrl "patch-${mmp}" "0pjkddh40irbmhh24yfxjl46dwc0plpm8mz5mg5q84937b23kkx6";
|
||||||
}
|
}
|
||||||
|
|
||||||
# AMD SI manual clocking
|
# AMD SI manual clocking
|
||||||
|
|
@ -60,12 +69,5 @@ self: super: {
|
||||||
( tkgPatch "0007-v${mm}-winesync" "1q82439450bldni0lra9hmhvdxnjxxhlv8v95kd36wah7fki4k83" )
|
( tkgPatch "0007-v${mm}-winesync" "1q82439450bldni0lra9hmhvdxnjxxhlv8v95kd36wah7fki4k83" )
|
||||||
( tkgPatch "0009-prjc_v${mm}-r1" "1z731jiwyc7z4d5hzd6szrxnvw0iygbqx82y2anzm32n22731dqv" )
|
( tkgPatch "0009-prjc_v${mm}-r1" "1z731jiwyc7z4d5hzd6szrxnvw0iygbqx82y2anzm32n22731dqv" )
|
||||||
];
|
];
|
||||||
})).overrideAttrs(o: {
|
|
||||||
passthru = o.passthru // {
|
|
||||||
features = {
|
|
||||||
efiBootStub = true;
|
|
||||||
ia32Emulation = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue