add MULTIBOOT and SINGLEBOOT

This commit is contained in:
Tobias Powalowski 2023-01-24 18:51:06 +01:00
parent 73040fcbcd
commit 86022700cb
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ _autoprepare() {
_set_device_name_scheme || return 1
fi
if [[ -n "${_GUIDPARAMETER}" ]]; then
_dialog --menu "Select the mountpoint of your\nEFI SYSTEM PARTITION (ESP):" 10 40 7 /efi _ /boot _ 2>"${_ANSWER}" || return 1
_dialog --menu "Select the mountpoint of your\nEFI SYSTEM PARTITION (ESP):" 10 40 7 "/efi" "MULTIBOOT" "/boot" "SINGLEBOOT" 2>"${_ANSWER}" || return 1
_UEFISYS_MP=$(cat "${_ANSWER}")
fi
if [[ "${_UEFISYS_MP}" == "/boot" ]]; then

View file

@ -64,7 +64,7 @@ _enter_mountpoint() {
if [[ -n "${_DO_ROOT}" ]]; then
_MP="/"
elif [[ -n "${_DO_UEFISYSDEV}" ]]; then
_dialog --menu "Select the mountpoint of your\nEFI SYSTEM PARTITION (ESP) on ${_DEV}:" 10 50 7 /efi _ /boot _ 2>"${_ANSWER}" || return 1
_dialog --menu "Select the mountpoint of your\nEFI SYSTEM PARTITION (ESP) on ${_DEV}:" 10 50 7 "/efi" "MULTIBOOT" "/boot" "SINGLEBOOT" 2>"${_ANSWER}" || return 1
_MP=$(cat "${_ANSWER}")
_FSTYPE="vfat"
_DO_UEFISYSDEV=""