summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-11-22 02:38:06 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-11-22 02:38:06 +0100
commit1c97bdb720c166c3d44b50d414b38dea338c7f99 (patch)
treee4cf28252ff12f968eaab6fa295dd1420d19fc24
parentaf438ee10a0eaea455b6e549e7c42141a34b0571 (diff)
downloaddrakx-1c97bdb720c166c3d44b50d414b38dea338c7f99.tar
drakx-1c97bdb720c166c3d44b50d414b38dea338c7f99.tar.gz
drakx-1c97bdb720c166c3d44b50d414b38dea338c7f99.tar.bz2
drakx-1c97bdb720c166c3d44b50d414b38dea338c7f99.tar.xz
drakx-1c97bdb720c166c3d44b50d414b38dea338c7f99.zip
update doc after previous commit
should have been done with: commit 5583c3f9e8de83b614f0707c91ee40227ceec604
-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) = @_;
(