| Date: Fri, 2 Apr 2021 12:07:47 +0100
Add F2FS support for bootfs and rootfs (zlibs/imaging)
Signed-off-by: gryrmln
Diffstat:
M zlibs/imaging | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
--- |
| 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 |