fix(iso): Find zfs partition on legacy BIOS machine (#7)

This commit is contained in:
hygienic-books 2023-10-23 02:28:01 +02:00
parent d685431684
commit 615b8c0e95

View File

@ -194,11 +194,15 @@ function select_part () {
part_type="${1:?}" # 'boot' or 'zfs'
zfs_install_drive="${2:-}"
if [[ "${part_type}" = 'boot' ]]; then
if [[ "${part_schema}" = 'mbr' ]]; then
specific_part_type='boot'
else
specific_part_type='efi'
fi
else
specific_part_type="${part_type}"
fi
if [[ "${zfs_install_drive}" ]]; then
# This is intended to find correct boot/EFI partition