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,10 +194,14 @@ function select_part () {
part_type="${1:?}" # 'boot' or 'zfs' part_type="${1:?}" # 'boot' or 'zfs'
zfs_install_drive="${2:-}" zfs_install_drive="${2:-}"
if [[ "${part_schema}" = 'mbr' ]]; then if [[ "${part_type}" = 'boot' ]]; then
specific_part_type='boot' if [[ "${part_schema}" = 'mbr' ]]; then
specific_part_type='boot'
else
specific_part_type='efi'
fi
else else
specific_part_type='efi' specific_part_type="${part_type}"
fi fi
if [[ "${zfs_install_drive}" ]]; then if [[ "${zfs_install_drive}" ]]; then