mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
nixos: copy resize2fs only for stage-1 fileSystems
This commit is contained in:
parent
65d26c4dc1
commit
8da59c406c
@ -79,7 +79,7 @@ let
|
||||
ln -sf kmod $out/bin/modprobe
|
||||
|
||||
# Copy resize2fs if needed.
|
||||
${optionalString (any (fs: fs.autoResize) config.system.build.fileSystems) ''
|
||||
${optionalString (any (fs: fs.autoResize) fileSystems) ''
|
||||
# We need mke2fs in the initrd.
|
||||
copy_bin_and_libs ${pkgs.e2fsprogs}/sbin/resize2fs
|
||||
''}
|
||||
|
Loading…
Reference in New Issue
Block a user