about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2019-07-30 08:34:56 +0100
committerGitHub <noreply@github.com>2019-07-30 08:34:56 +0100
commite991f0de07b6a24c6474b7a7915a243bbc4bc50f (patch)
tree80417a8571b89e9e8c0166ec9a2338ebd5383597
parent344f0529ed800eecc8f12a525f4b04a81eb7e77d (diff)
parentae608faa859b910d85f6d00cce9f1133c1fe4a1a (diff)
downloadnixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar.gz
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar.bz2
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar.lz
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar.xz
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.tar.zst
nixlib-e991f0de07b6a24c6474b7a7915a243bbc4bc50f.zip
Merge pull request #65506 from dasJ/xfs-repair-initrd
nixos/xfs: Add xfs_repair to the initrd
-rw-r--r--nixos/modules/tasks/filesystems/xfs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/xfs.nix b/nixos/modules/tasks/filesystems/xfs.nix
index c6a90bcf1a51..98038701ca58 100644
--- a/nixos/modules/tasks/filesystems/xfs.nix
+++ b/nixos/modules/tasks/filesystems/xfs.nix
@@ -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.