From 1c97bdb720c166c3d44b50d414b38dea338c7f99 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Nov 2018 02:38:06 +0100 Subject: update doc after previous commit should have been done with: commit 5583c3f9e8de83b614f0707c91ee40227ceec604 --- perl-install/bootloader.pm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'perl-install/bootloader.pm') 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) = @_; ( -- cgit v1.2.1