From 482228919c80d283130e30afa2bfdee05a5bfb92 Mon Sep 17 00:00:00 2001 From: hyperfekt Date: Sat, 3 Nov 2018 12:34:35 +0100 Subject: nixos/bcachefs: remove superfluous fsck from initrd bcachefs checks the filesystem at mount time, therefore no separate fsck binary is needed in initrd. --- nixos/modules/tasks/filesystems/bcachefs.nix | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nixos/modules/tasks/filesystems') diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix index 227707173a3..dfb8106d9a5 100644 --- a/nixos/modules/tasks/filesystems/bcachefs.nix +++ b/nixos/modules/tasks/filesystems/bcachefs.nix @@ -17,10 +17,5 @@ in boot.kernelPackages = pkgs.linuxPackages_testing_bcachefs; boot.initrd.availableKernelModules = mkIf inInitrd [ "bcachefs" ]; - boot.initrd.extraUtilsCommands = mkIf inInitrd - '' - copy_bin_and_libs ${pkgs.bcachefs-tools}/bin/fsck.bcachefs - ''; - }; } -- cgit 1.4.1