diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-04-20 11:33:51 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-04-20 21:35:26 +0100 |
commit | 61f0689f0f12925840589440426704eca8495bbd (patch) | |
tree | f140486885a091c0c0a8e45d071db23186f9116d /perl-install | |
parent | 9602565a6c602906acb96c3192d8ff168ef5ebea (diff) | |
download | drakx-61f0689f0f12925840589440426704eca8495bbd.tar drakx-61f0689f0f12925840589440426704eca8495bbd.tar.gz drakx-61f0689f0f12925840589440426704eca8495bbd.tar.bz2 drakx-61f0689f0f12925840589440426704eca8495bbd.tar.xz drakx-61f0689f0f12925840589440426704eca8495bbd.zip |
Avoid calling ped_disk_probe() when setting up bootloader.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}}; } |