summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm16
1 files changed, 12 insertions, 4 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index e811c605b..215e70f42 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -782,10 +782,11 @@ sub suggest_onmbr {
}
-=item allowed_boot_parts($bootloader, $all_hds)
+=item allowed_boot_disks($bootloader, $all_hds)
-Returns list of places where we can install the bootloader when not in UEFI mode
-(in UEFI mode, grub2 automatically look for the ESP).
+Returns list of disks where we can install the bootloader when not in UEFI mode
+(accounting for misssing BIOS boot partitions on GPT disks)
+in UEFI mode, grub2 automatically look for the ESP).
=cut
@@ -796,7 +797,14 @@ sub allowed_boot_disks {
any { isBIOS_GRUB($_) } map { partition_table::get_normal_parts($_) } $_;
} @{$all_hds->{hds}};
}
-
+
+=item allowed_boot_parts($bootloader, $all_hds)
+
+Returns list of places where we can install the bootloader when not in UEFI mode
+(in UEFI mode, grub2 automatically look for the ESP).
+
+=cut
+
sub allowed_boot_parts {
my ($bootloader, $all_hds) = @_;
(