mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #65506 from dasJ/xfs-repair-initrd
nixos/xfs: Add xfs_repair to the initrd
This commit is contained in:
commit
e991f0de07
|
@ -18,6 +18,7 @@ in
|
||||||
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
||||||
''
|
''
|
||||||
copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/fsck.xfs
|
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.
|
# Trick just to set 'sh' after the extraUtils nuke-refs.
|
||||||
|
|
Loading…
Reference in a new issue