tAdd F2FS support for bootfs and rootfs (zlibs/imaging) - libdevuansdk - common library for devuan's simple distro kits (HTM) git clone https://git.parazyd.org/libdevuansdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 1952888e1872447450ec62b4eebc2c2903dd2cff (DIR) parent 424a3966d2e95d2ee967ae4226393803c4628c8f (HTM) Author: gryrmln <gryrmln@localhost> Date: Fri, 2 Apr 2021 12:07:47 +0100 Add F2FS support for bootfs and rootfs (zlibs/imaging) Signed-off-by: gryrmln <gryrmln@localhost> Diffstat: M zlibs/imaging | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) --- (DIR) diff --git a/zlibs/imaging b/zlibs/imaging t@@ -88,6 +88,10 @@ image_format_partitions() act "Formatting boot as btrfs" sudo mkfs.btrfs ${=bootopts} "${bootpart}" || { zerr; return 1; } ;; + f2fs) + act "Formatting boot as f2fs" + sudo mkfs.f2fs ${=bootopts} "${bootpart}" || { zerr; return 1; } + ;; "") die "No bootfs filesystem set!" zerr; return 1 t@@ -115,6 +119,10 @@ image_format_partitions() act "Formatting root as btrfs" sudo mkfs.btrfs ${=rootopts} "${rootpart}" || { zerr; return 1; } ;; + f2fs) + act "Formatting root as f2fs" + sudo mkfs.f2fs ${=rootopts} "${rootpart}" || { zerr; return 1; } + ;; "") die "No rootfs filesystem set!" zerr; return 1