From 8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 27 Nov 2019 16:26:47 +0100 Subject: Disk confirm in progress --- joes-arch-install.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'joes-arch-install.sh') diff --git a/joes-arch-install.sh b/joes-arch-install.sh index 6e9f6d2..f3834e6 100755 --- a/joes-arch-install.sh +++ b/joes-arch-install.sh @@ -165,6 +165,22 @@ jo_get_root_size() { done } +jo_get_confim_disk() { + if [ "$efimode" = true ]; then + bootpart="/boot/efi" + else + bootpart="/boot" + fi + dialog --title "Confirm this is correct"\ + --yesno "\ +\tDrive to use:\t$drv\n\ +\n\ +boot partition [$drv1] ($bootpart) - \t\t$bootsze\n\ +swap partition [$drv2] (swap) - \t\t$swpsze\n\ +root partition [$drv3] (/) - \t\t\t$rtsze\n\ +home partition [$drv4] (/home) - \t\tAll that remains" 10 70 +} + jo_pacstrap() { echo dialog --title "$1" --infobox "Installing $1" 3 50 -- cgit v1.2.3