From 61f0689f0f12925840589440426704eca8495bbd Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 20 Apr 2019 11:33:51 +0100 Subject: Avoid calling ped_disk_probe() when setting up bootloader. --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index a9bb1e73d..7e956cf87 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -837,7 +837,7 @@ in UEFI mode, grub2 automatically look for the ESP). sub allowed_boot_disks { my ($all_hds) = @_; # GPT disks w/o a BIOS boot partition do not have free space for grub2 to embed: - grep { c::get_disk_type($_->{file}) ne 'gpt' || + grep { $_->{pt_table_type} ne 'gpt' || any { isBIOS_GRUB($_) } map { partition_table::get_normal_parts($_) } $_; } @{$all_hds->{hds}}; } -- cgit v1.2.1