mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add MULTIBOOT and SINGLEBOOT
This commit is contained in:
parent
73040fcbcd
commit
86022700cb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue