fix: sleep differently

This commit is contained in:
Peter Šurda 2021-03-03 10:50:11 +01:00
parent e606519a4c
commit e778036d97
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -46,12 +46,15 @@ function install_syslinux()
apt -yq install syslinux syslinux-common syslinux-efi
dd bs=440 count=1 conv=notrunc \
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
sleep 5
dev_from_partnum "$drive" 1
syslinux "$partition"
sync
sleep 5
dd bs=440 count=1 conv=notrunc \
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
sync
sleep 5
mount_efi "$drive"