Add sleep to slow down format dialog with small partitions
This commit is contained in:
parent
bf45d5d51f
commit
b1b19f1d6a
@ -1176,9 +1176,11 @@ select_efi_partition()
|
||||
local msg="$_FormUefiBody $BOOT_PART $_FormUefiBody2"
|
||||
if [[ $AUTO_BOOT_PART != "$BOOT_PART" ]] && yesno "$_PrepMount" "$msg" "Format $BOOT_PART" "Do Not Format" "no"; then
|
||||
format "$BOOT_PART" "vfat"
|
||||
sleep 1
|
||||
fi
|
||||
else
|
||||
format "$BOOT_PART" "vfat"
|
||||
sleep 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
@ -1193,9 +1195,11 @@ select_boot_partition()
|
||||
local msg="$_FormBiosBody $BOOT_PART $_FormUefiBody2"
|
||||
if [[ $AUTO_BOOT_PART != "$BOOT_PART" ]] && yesno "$_PrepMount" "$msg" "Format $BOOT_PART" "Skip Formatting" "no"; then
|
||||
format "$BOOT_PART" "ext4"
|
||||
sleep 1
|
||||
fi
|
||||
else
|
||||
format "$BOOT_PART" "ext4"
|
||||
sleep 1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
@ -2061,10 +2065,6 @@ package_operations()
|
||||
fi
|
||||
fi
|
||||
|
||||
# for only gnome or cinnamon we don't need the xfce provided stuff
|
||||
[[ $INSTALL_WMS =~ (gnome|cinnamon) ]] &&
|
||||
rmpkg+=" $(pacman -Qssq 'xfce4*' 2>/dev/null)"
|
||||
|
||||
# when not using grub bootloader remove it's package and configurations
|
||||
if [[ $BOOTLDR != 'grub' ]]; then
|
||||
rmpkg+=" grub"
|
||||
|
Reference in New Issue
Block a user