add ext2 support for partitioning
This commit is contained in:
parent
9b97dc038d
commit
c018a20268
|
|
@ -52,6 +52,9 @@ image_format_partitions() {
|
||||||
ext4)
|
ext4)
|
||||||
act "formatting boot as ext4"
|
act "formatting boot as ext4"
|
||||||
sudo mkfs.ext4 ${bootpart}
|
sudo mkfs.ext4 ${bootpart}
|
||||||
|
ext2)
|
||||||
|
act "formating boot as ext2"
|
||||||
|
sudo mkfs.ext2 ${bootpart}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
error "unknown parted_bootfs type '$bootfs'"
|
error "unknown parted_bootfs type '$bootfs'"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue