From adaaa83ac678307d705b3307be3f04b06798a4fe Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 9 Jan 2023 08:29:07 +0100 Subject: [PATCH] correct __ --- usr/lib/archboot/installer/base.sh | 2 ++ usr/lib/archboot/installer/bootloader.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/base.sh b/usr/lib/archboot/installer/base.sh index a0f0cb265..aa8720be7 100644 --- a/usr/lib/archboot/installer/base.sh +++ b/usr/lib/archboot/installer/base.sh @@ -25,9 +25,11 @@ _S_MKFSAUTO=0 # auto fs part/formatting _NEXTITEM="" # To allow choice in script set EDITOR="" _EDITOR="" +# programs _LSBLK="lsblk -rpno" _BLKID="blkid -c /dev/null" + _set_title() { if [[ -e "${_LOCAL_DB}" ]]; then _TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot" diff --git a/usr/lib/archboot/installer/bootloader.sh b/usr/lib/archboot/installer/bootloader.sh index c2d001596..a12729767 100644 --- a/usr/lib/archboot/installer/bootloader.sh +++ b/usr/lib/archboot/installer/bootloader.sh @@ -190,7 +190,7 @@ _do_apple_efi_hfs_bless() { _do_uefi_bootmgr_setup() { _UEFISYSDEV="$(findmnt -vno SOURCE "${_DESTDIR}/${_UEFISYS_MP}")" _DISK="$(${_LSBLK} KNAME "${_UEFISYSDEV}")" - _UEFISYS_PART_NUM="$(${_BLKID} -p -i -s PART_ENTRY__NUMBER -o value "${_UEFISYSDEV}")" + _UEFISYS_PART_NUM="$(${_BLKID} -p -i -s PART_ENTRY_NUMBER -o value "${_UEFISYSDEV}")" _BOOTMGR_DISK="${_DISK}" _BOOTMGR_PART_NUM="${_UEFISYS_PART_NUM}" if [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Inc.' ]] || [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Computer, Inc.' ]]; then