3
0
Fork 0
forked from mirrors/nixpkgs

nixos/xfs: Add xfs_repair to the initrd

Closes #8820
This commit is contained in:
Janne Heß 2019-07-30 09:28:34 +02:00
parent 5ffec31ffd
commit ae608faa85

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.