mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
silence check
This commit is contained in:
parent
248a8d0c2b
commit
284a77fc1c
1 changed files with 2 additions and 2 deletions
|
@ -418,7 +418,7 @@ _mkfs() {
|
||||||
if [[ -n "${_CREATE_MOUNTPOINTS}" && "${5}" = "/efi" && ! -d "${3}${5}/EFI" ]]; then
|
if [[ -n "${_CREATE_MOUNTPOINTS}" && "${5}" = "/efi" && ! -d "${3}${5}/EFI" ]]; then
|
||||||
mkdir "${3}${5}/EFI"
|
mkdir "${3}${5}/EFI"
|
||||||
fi
|
fi
|
||||||
if [[ -n "${_CREATE_MOUNTPOINTS}" && "${5}" = "/boot" && -n "${_UEFI_BOOT}" && ! $(mountpoint "${3}/efi" > "${_NO_LOG}") && ! -d "${3}${5}/EFI" ]]; then
|
if [[ -n "${_CREATE_MOUNTPOINTS}" && "${5}" = "/boot" && -n "${_UEFI_BOOT}" && ! $(mountpoint "${3}/efi" &>"${_NO_LOG}") && ! -d "${3}${5}/EFI" ]]; then
|
||||||
mkdir "${3}${5}/EFI"
|
mkdir "${3}${5}/EFI"
|
||||||
fi
|
fi
|
||||||
# check if /boot exists on ROOT DEVICE
|
# check if /boot exists on ROOT DEVICE
|
||||||
|
@ -434,7 +434,7 @@ _mkfs() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
# check on /EFI on /boot
|
# check on /EFI on /boot
|
||||||
if [[ -z "${_CREATE_MOUNTPOINTS}" && "${5}" = "/boot" && -n "${_UEFI_BOOT}" && ! $(mountpoint "${3}/efi" > "${_NO_LOG}") && ! -d "${3}${5}/EFI" ]]; then
|
if [[ -z "${_CREATE_MOUNTPOINTS}" && "${5}" = "/boot" && -n "${_UEFI_BOOT}" && ! $(mountpoint "${3}/efi" &>"${_NO_LOG}") && ! -d "${3}${5}/EFI" ]]; then
|
||||||
_dialog --msgbox "Error: EFI SYSTEM PARTITION (ESP) ${3}${5} does not contain /EFI directory." 0 0
|
_dialog --msgbox "Error: EFI SYSTEM PARTITION (ESP) ${3}${5} does not contain /EFI directory." 0 0
|
||||||
_umountall
|
_umountall
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue