linux_lqx: init at 5.9.15

Same source as linux_zen but with a release schedule that's not quite as
bleeding edge. For example, it's currenly on the newest 5.9 release while
linux_zen is already on 5.10 and won't release future 5.9 fixes.

Originally meant for debianish Distros.
This commit is contained in:
Atemu 2020-12-18 12:08:52 +01:00
parent 9497a06bf2
commit ff636d5843
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, buildLinux, ... } @ args:
let
version = "5.9.15";
in
buildLinux (args // {
modDirVersion = "${version}-lqx1";
inherit version;
isZen = true;
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-lqx1";
sha256 = "1srkybhgm3rsmhs4m8ipv1zi4y1dxnlicgh0x9v2g4myn58lin57";
};
extraMeta = {
branch = "5.9/master";
maintainers = with stdenv.lib.maintainers; [ atemu ];
};
} // (args.argsOverride or {}))

View file

@ -18448,6 +18448,14 @@ in
];
};
linux_lqx = callPackage ../os-specific/linux/kernel/linux-lqx.nix {
kernelPatches = [
kernelPatches.bridge_stp_helper
kernelPatches.request_key_helper
kernelPatches.export_kernel_fpu_functions."5.3"
];
};
/* Linux kernel modules are inherently tied to a specific kernel. So
rather than provide specific instances of those packages for a
specific kernel, we have a function that builds those packages
@ -18762,6 +18770,7 @@ in
# zen-kernel
linuxPackages_zen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_zen);
linuxPackages_lqx = recurseIntoAttrs (linuxPackagesFor pkgs.linux_lqx);
# A function to build a manually-configured kernel
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});