Merge pull request #107148 from Atemu/linux_lqx-init

linux_lqx: init at 5.9.15
This commit is contained in:
Timo Kaufmann 2020-12-28 18:35:15 +01:00 committed by GitHub
commit 90d95d4513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, buildLinux, linux_zen, ... } @ args:
let
version = "5.9.16";
in
buildLinux (args // {
modDirVersion = "${version}-lqx1";
inherit version;
isZen = true;
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-lqx1";
sha256 = "0ljvqf91nxpql98z75bicg5y3nzkm41rq5b0rm1kcnsk0ji829ps";
};
extraMeta = {
branch = "5.9/master";
maintainers = with stdenv.lib.maintainers; [ atemu ];
description = linux_zen.meta.description + " (Same as linux_zen but less aggressive release schedule)";
};
} // (args.argsOverride or {}))

View file

@ -19,6 +19,7 @@ buildLinux (args // {
extraMeta = {
branch = "5.10/master";
maintainers = with stdenv.lib.maintainers; [ atemu andresilva ];
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
};
} // (args.argsOverride or {}))

View file

@ -18522,6 +18522,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
@ -18836,6 +18844,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 {});