Merge pull request #65506 from dasJ/xfs-repair-initrd

nixos/xfs: Add xfs_repair to the initrd
This commit is contained in:
Jörg Thalheim
2019-07-30 08:34:56 +01:00
committed by GitHub

View File

@@ -18,6 +18,7 @@ in
boot.initrd.extraUtilsCommands = mkIf inInitrd
''
copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/fsck.xfs
copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/xfs_repair
'';
# Trick just to set 'sh' after the extraUtils nuke-refs.