about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-05-18 23:57:04 +0200
committerGitHub <noreply@github.com>2024-05-18 23:57:04 +0200
commitaa5d9c30f8903d98f4b25cebdcfdbae19ca55859 (patch)
treea6b7f4595bb712dcf9ebcd2b4800d6f2297e41cc /nixos/modules/system
parent8ee3dcb13c44ec3d72c338a504b08669a0e832f4 (diff)
parentda635f35de3f9a471112a63f49fcb3c00e5bd334 (diff)
Merge pull request #309236 from ElvishJerricco/sd-s1-fix-xfs-fsck
nixos/systemd-stage-1: Fix fsck.xfs needing bash's sh symlink
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd/initrd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix
index cc32b2a15e7ce..6107a2594baf8 100644
--- a/nixos/modules/system/boot/systemd/initrd.nix
+++ b/nixos/modules/system/boot/systemd/initrd.nix
@@ -473,8 +473,8 @@ in {
         "${cfg.package.util-linux}/bin/umount"
         "${cfg.package.util-linux}/bin/sulogin"
 
-        # required for script services
-        "${pkgs.runtimeShell}"
+        # required for script services, and some tools like xfs still want the sh symlink
+        "${pkgs.bash}/bin"
 
         # so NSS can look up usernames
         "${pkgs.glibc}/lib/libnss_files.so.2"