diff options
| author | Bogdan-Cristian Tătăroiu <b.tataroiu@gmail.com> | 2025-06-28 12:56:46 +0100 |
|---|---|---|
| committer | Bogdan-Cristian Tătăroiu <b.tataroiu@gmail.com> | 2025-06-28 14:50:51 +0100 |
| commit | 3332613adda6c22f06d17002db812ba47f239772 (patch) | |
| tree | ec9148fcbd21c03fd9fcd7f73ddfe173ea53b63d /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | b4c72fac350626b4d9b237df57f05f3a4768b269 (diff) | |
nixos/systemd-initrd: Fix fsck.xfs failing due to missing sh
When running with a xfs root partition and using systemd for stage 1
initrd, I noticed in journalctl that fsck.xfs always failed to execute.
The issue is that it is trying to use the below sh interpreter:
`#!/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/sh -f`
but the file does not exist in the initrd image.
/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/**bash**
exists since it gets pulled in by some package, but the rest of the
directory is not being pulled in.
boot/systemd/initrd.nix mentions that xfs_progs references the sh
interpreter and seems to explicitly try to address this by adding
${pkgs.bash}/bin to storePaths, but that's the wrong bash package.
Update the `storePaths` value to pull in `pkgs.bashNonInteractive`
rather than `pkgs.bash`.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
