Only ask once about efisys partition

This commit is contained in:
Tobias Powalowski 2013-09-22 14:23:45 +02:00
parent 93cac33096
commit f7b5b70bc3

View file

@ -12,7 +12,6 @@ DESTDIR="/install"
EDITOR="" EDITOR=""
_BLKID="blkid -c /dev/null" _BLKID="blkid -c /dev/null"
_LSBLK="lsblk -rpno" _LSBLK="lsblk -rpno"
UEFISYS_MOUNTPOINT="/boot/efi"
# name of kernel package # name of kernel package
KERNELPKG="linux" KERNELPKG="linux"
@ -1758,7 +1757,7 @@ check_efisys_part() {
fi fi
if [[ "${S_MKFSAUTO}" != "1" ]]; then if [[ "${UEFISYS_MOUNTPOINT}" == "" ]]; then
DIALOG --inputbox "Enter the mountpoint of your EFISYS partition (Default is /boot/efi): " 0 0 "/boot/efi" 2>${ANSWER} || return 1 DIALOG --inputbox "Enter the mountpoint of your EFISYS partition (Default is /boot/efi): " 0 0 "/boot/efi" 2>${ANSWER} || return 1
UEFISYS_MOUNTPOINT="$(cat ${ANSWER})" UEFISYS_MOUNTPOINT="$(cat ${ANSWER})"
fi fi