Add variable bootfs formatting opts.

This commit is contained in:
parazyd 2018-03-13 20:10:34 +01:00
parent fa3c7ea707
commit 2d4e038046
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 3 deletions

View File

@ -47,15 +47,15 @@ image_format_partitions() {
;; ;;
vfat|fat|dos) vfat|fat|dos)
act "formatting boot as vfat" act "formatting boot as vfat"
sudo mkfs.vfat ${bootpart} sudo mkfs.vfat ${=bootopts} ${bootpart}
;; ;;
ext4) ext4)
act "formatting boot as ext4" act "formatting boot as ext4"
sudo mkfs.ext4 ${bootpart} sudo mkfs.ext4 ${=bootopts} ${bootpart}
;; ;;
ext2) ext2)
act "formating boot as ext2" act "formating boot as ext2"
sudo mkfs.ext2 ${bootpart} sudo mkfs.ext2 ${=bootopts} ${bootpart}
;; ;;
*) *)
error "unknown parted_bootfs type '$bootfs'" error "unknown parted_bootfs type '$bootfs'"