add ext2 support for partitioning

This commit is contained in:
parazyd 2017-10-27 19:22:48 +02:00
parent 9b97dc038d
commit c018a20268
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ image_format_partitions() {
ext4)
act "formatting boot as ext4"
sudo mkfs.ext4 ${bootpart}
ext2)
act "formating boot as ext2"
sudo mkfs.ext2 ${bootpart}
;;
*)
error "unknown parted_bootfs type '$bootfs'"