summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm5
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"),