mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
linux_samus_4_12: init at 4.12.2
Co-authored-by: Nikolay Amiantov <ab@fmap.me> fixes #26038
This commit is contained in:
parent
dcdbbbb433
commit
0b3d29d4ac
23
pkgs/os-specific/linux/kernel/linux-samus-4.12.nix
Normal file
23
pkgs/os-specific/linux/kernel/linux-samus-4.12.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ncurses, ... } @ args:
|
||||
|
||||
assert stdenv.is64bit;
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.12.2";
|
||||
extraMeta.branch = "4.12-2";
|
||||
|
||||
src =
|
||||
let upstream = fetchFromGitHub {
|
||||
owner = "raphael";
|
||||
repo = "linux-samus";
|
||||
rev = "v${extraMeta.branch}";
|
||||
sha256 = "1dr74i79p8r13522w2ppi8gnjd9bhngc9d2hsn91ji6f5a8fbxx9";
|
||||
}; in "${upstream}/build/linux";
|
||||
|
||||
features.iwlwifi = true;
|
||||
features.efiBootStub = true;
|
||||
features.needsCifsUtils = true;
|
||||
features.netfilterRPFilter = true;
|
||||
|
||||
extraMeta.hydraPlatforms = [];
|
||||
} // (args.argsOverride or {}))
|
@ -12108,6 +12108,20 @@ with pkgs;
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
linux_samus_4_12 = callPackage ../os-specific/linux/kernel/linux-samus-4.12.nix {
|
||||
kernelPatches =
|
||||
[ kernelPatches.bridge_stp_helper
|
||||
kernelPatches.p9_fixes
|
||||
# See pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
|
||||
# when adding a new linux version
|
||||
kernelPatches.cpu-cgroup-v2."4.11"
|
||||
kernelPatches.modinst_arg_list_too_long
|
||||
];
|
||||
};
|
||||
|
||||
linux_samus_latest = linux_samus_4_12;
|
||||
|
||||
linux_chromiumos_3_18 = callPackage ../os-specific/linux/kernel/linux-chromiumos-3.18.nix {
|
||||
kernelPatches = [ kernelPatches.chromiumos_Kconfig_fix_entries_3_18
|
||||
kernelPatches.chromiumos_no_link_restrictions
|
||||
@ -12312,6 +12326,10 @@ with pkgs;
|
||||
|
||||
linux_grsec_server_xen = linux_grsec_nixos;
|
||||
|
||||
# Samus kernels
|
||||
linuxPackages_samus_4_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_samus_4_12);
|
||||
linuxPackages_samus_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_samus_latest);
|
||||
|
||||
# ChromiumOS kernels
|
||||
linuxPackages_chromiumos_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_3_18);
|
||||
linuxPackages_chromiumos_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_latest);
|
||||
|
Loading…
Reference in New Issue
Block a user