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
commit e991f0de07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.