lol

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.

authored by

Ryan Mulligan and committed by
Franz Pletz
41b56b4b 76ae7e19

+1 -1
+1 -1
nixos/modules/tasks/filesystems/f2fs.nix
··· 10 10 11 11 system.fsPackages = [ pkgs.f2fs-tools ]; 12 12 13 - boot.initrd.availableKernelModules = mkIf inInitrd [ "f2fs" ]; 13 + boot.initrd.availableKernelModules = mkIf inInitrd [ "f2fs" "crc32" ]; 14 14 15 15 boot.initrd.extraUtilsCommands = mkIf inInitrd '' 16 16 copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/fsck.f2fs