summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2017-02-22 16:13:11 -0800
committerFranz Pletz <fpletz@fnordicwalking.de>2017-02-24 18:32:50 +0100
commit41b56b4b8abe10ee1a191c336ac90e1dd5081c0a (patch)
tree6859c7f7fa0a237fe9108dc1fb623b01d2a85ca1 /nixos/modules
parent76ae7e19a9fa95b7111e244eeb3b8083a333477a (diff)
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.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/tasks/filesystems/f2fs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/f2fs.nix b/nixos/modules/tasks/filesystems/f2fs.nix
index 430ac630a885..d103ff1a57b5 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