Merge pull request #8 from jhartshorn/master

Added a delay before mkfs command to fix error "The file /dev/sda1 do…
This commit is contained in:
Limor "Ladyada" Fried 2020-04-17 11:24:05 -04:00 committed by GitHub
commit 0d091e18f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,7 @@ info "fs create" "Creating ${target_partition}"
parted --script --align optimal "${target_drive}" mkpart primary ext4 0% 100%
info "fs create" "Creating ext4 filesystem on ${target_partition}"
sleep 5
mkfs -t ext4 -L rootfs "${target_partition}"
info "fs id" "Getting UUID for target partition"