Merge pull request #94027 from Atemu/zen-kernel-init
linux_zen: init at 5.7.10
This commit is contained in:
commit
657f6129b3
23
pkgs/os-specific/linux/kernel/linux-zen.nix
Normal file
23
pkgs/os-specific/linux/kernel/linux-zen.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, buildLinux, ... } @ args:
|
||||
|
||||
let
|
||||
version = "5.7.10";
|
||||
in
|
||||
|
||||
buildLinux (args // {
|
||||
modDirVersion = "${version}-zen1";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zen-kernel";
|
||||
repo = "zen-kernel";
|
||||
rev = "v${version}-zen1";
|
||||
sha256 = "0m9abjs7xv80zgk5qx7iimxaycif8dlr0g0kzkjyaw9mxji6gp37";
|
||||
};
|
||||
|
||||
extraMeta = {
|
||||
branch = "5.7/master";
|
||||
maintainers = with stdenv.lib.maintainers; [ atemu ];
|
||||
};
|
||||
|
||||
} // (args.argsOverride or {}))
|
@ -17421,6 +17421,14 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
linux_zen = callPackage ../os-specific/linux/kernel/linux-zen.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
|
||||
@ -17701,6 +17709,9 @@ in
|
||||
linuxPackages_latest-libre = recurseIntoAttrs (linuxPackagesFor linux_latest-libre);
|
||||
linux_latest-libre = linux-libre.override { linux = linux_latest; };
|
||||
|
||||
# zen-kernel
|
||||
linuxPackages_zen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_zen);
|
||||
|
||||
# A function to build a manually-configured kernel
|
||||
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user