mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
nixos/stage-1: added f2fs-tools' tools for resizing
This commit is contained in:
parent
c24e917325
commit
b44d304542
1 changed files with 4 additions and 0 deletions
|
@ -126,6 +126,10 @@ let
|
|||
${optionalString (any (fs: fs.autoResize) fileSystems) ''
|
||||
# We need mke2fs in the initrd.
|
||||
copy_bin_and_libs ${pkgs.e2fsprogs}/sbin/resize2fs
|
||||
# Copy also f2fs-tools' fsck and resize
|
||||
# TODO: separate these in case no f2fs fs are present
|
||||
copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/fsck.f2fs
|
||||
copy_bin_and_libs ${pkgs.f2fs-tools}/sbin/resize.f2fs
|
||||
''}
|
||||
|
||||
# Copy secrets if needed.
|
||||
|
|
Loading…
Reference in a new issue