diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-07-02 15:36:04 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-07-03 16:46:52 +0200 |
commit | b0640fc82920ab92e943e5e35dd072e016dcd51f (patch) | |
tree | b38087c5819e92718875d118e720bdc8a1845af1 /perl-install/any.pm | |
parent | 0668f765b1a77c640a7a24f0bf6a2469a68feb68 (diff) | |
download | drakx-b0640fc82920ab92e943e5e35dd072e016dcd51f.tar drakx-b0640fc82920ab92e943e5e35dd072e016dcd51f.tar.gz drakx-b0640fc82920ab92e943e5e35dd072e016dcd51f.tar.bz2 drakx-b0640fc82920ab92e943e5e35dd072e016dcd51f.tar.xz drakx-b0640fc82920ab92e943e5e35dd072e016dcd51f.zip |
make clear grub2 is installed on ESP under UEFI
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index ba854dad7..9aad51502 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -390,6 +390,10 @@ sub setupBootloader__general { $b->{password2} ||= $b->{password} ||= ''; $::Wizard_title = N("Boot Style Configuration"); my (@boot_devices, %boot_devices); + if (is_uefi()) { + @boot_devices = 'ESP'; + %boot_devices = (ESP => N("EFI System partition")); + } else { foreach (bootloader::allowed_boot_parts($b, $all_hds)) { my $dev = "/dev/$_->{device}"; push @boot_devices, $dev; @@ -400,6 +404,7 @@ sub setupBootloader__general { } $boot_devices{$dev} = $name ? "$dev ($name)" : $dev; } + } $in->ask_from_({ #messages => N("Bootloader main options"), title => N("Bootloader main options"), |