diff options
author | Victor Shlein <kisik21@users.noreply.github.com> | 2018-06-19 01:36:12 +0300 |
---|---|---|
committer | Victor Shlein <kisik21@users.noreply.github.com> | 2018-06-19 01:36:12 +0300 |
commit | b44d3045421bfd9857a4cecae4250e88a973f015 (patch) | |
tree | 2c410e52654a76e944c6b6a84085a4b691ebad90 /nixos | |
parent | c24e91732598f088acdb49129002fa437ec33192 (diff) | |
download | nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar.gz nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar.bz2 nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar.lz nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar.xz nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.tar.zst nixlib-b44d3045421bfd9857a4cecae4250e88a973f015.zip |
nixos/stage-1: added f2fs-tools' tools for resizing
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 55bb6d3449c5..21f2fdb41582 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -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. |