3
0
Fork 0
forked from mirrors/nixpkgs

linux-testing-bcachefs: init at 4.11.2017.08.23

This commit is contained in:
davidak 2017-08-31 05:17:54 -05:00 committed by Jörg Thalheim
parent d22c1c0719
commit 4134db36d0
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, hostPlatform, fetchgit, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.11.2017.08.23";
modDirVersion = "4.11.0";
extraMeta.branch = "master";
extraMeta.maintainers = [ stdenv.lib.maintainers.davidak ];
src = fetchgit {
url = "https://evilpiepirate.org/git/bcachefs.git";
rev = "fb8082a13d49397346a04ce4d3904569b0287738";
sha256 = "18csg2zb4lnhid27h5w95j3g8np29m8y3zfpfgjl1jr2jks64kid";
};
extraConfig = ''
BCACHEFS_FS m
'';
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.netfilterRPFilter = true;
# Should the testing kernels ever be built on Hydra?
extraMeta.hydraPlatforms = [];
} // (args.argsOverride or {}))

View file

@ -12185,6 +12185,21 @@ with pkgs;
];
};
linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.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
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
kernelPatches.mips_fpu_sigill
kernelPatches.mips_ext3_n32
];
};
linux_samus_4_12 = callPackage ../os-specific/linux/kernel/linux-samus-4.12.nix {
kernelPatches =
@ -12371,6 +12386,9 @@ with pkgs;
allowImportFromDerivation = true;
}));
# Build a kernel with bcachefs module
linuxPackages_testing_bcachefs = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing_bcachefs);
# Build a kernel for Xen dom0
linuxPackages_latest_xen_dom0 = recurseIntoAttrs (linuxPackagesFor (pkgs.linux_latest.override { features.xen_dom0=true; }));