From 41b56b4b8abe10ee1a191c336ac90e1dd5081c0a Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Wed, 22 Feb 2017 16:13:11 -0800 Subject: [PATCH] f2fs module: add crc32 dependency to initrd kernel modules, closes #23093 f2fs.fsck depends on crc32 module being present in the initrd system, otherwise, if f2fs is used as the root disk, the system is unbootable. --- nixos/modules/tasks/filesystems/f2fs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/tasks/filesystems/f2fs.nix b/nixos/modules/tasks/filesystems/f2fs.nix index 430ac630a88..d103ff1a57b 100644 --- a/nixos/modules/tasks/filesystems/f2fs.nix +++ b/nixos/modules/tasks/filesystems/f2fs.nix @@ -10,7 +10,7 @@ in system.fsPackages = [ pkgs.f2fs-tools ]; - boot.initrd.availableKernelModules = mkIf inInitrd [ "f2fs" ]; + boot.initrd.availableKernelModules = mkIf inInitrd [ "f2fs" "crc32" ]; boot.initrd.extraUtilsCommands = mkIf inInitrd '' copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/fsck.f2fs