mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
vendorize bcachefs kernel
This commit is contained in:
parent
825be2b627
commit
eca1957835
3 changed files with 41 additions and 2 deletions
28
linux-testing-bcachefs.nix
Normal file
28
linux-testing-bcachefs.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# nixpkgs's variant is broken because they have non-applying patches on top of the latest kernel,
|
||||
# instead of using kernel.
|
||||
|
||||
{ lib
|
||||
, buildLinux
|
||||
, fetchFromGitHub
|
||||
, ...
|
||||
} @ args:
|
||||
buildLinux (args // {
|
||||
# NOTE: bcachefs-tools should be updated simultaneously to preserve compatibility
|
||||
version = "6.1.0-2022-12-29";
|
||||
modDirVersion = "6.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "koverstreet";
|
||||
repo = "bcachefs";
|
||||
rev = "8f064a4cb5c7cce289b83d7a459e6d8620188b37";
|
||||
sha256 = "sha256-UgWAbYToauAjGrgeS+o6N42/oW0roICJIoJlEAHBRPk=";
|
||||
};
|
||||
|
||||
kernelPatches = (args.kernelPatches or []) ++ [{
|
||||
name = "bcachefs-config";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
BCACHEFS_FS m
|
||||
'';
|
||||
}];
|
||||
} // (args.argsOverride or {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue