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.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index e9c614ca8..b43c41272 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -423,7 +423,8 @@ sub setupBootloader__general {
foreach (bootloader::allowed_boot_parts($b, $all_hds)) {
my $dev = "/dev/$_->{device}";
push @boot_devices, $dev;
- $boot_devices{$dev} = $_->{info} ? "$dev ($_->{info})" : $dev;
+ my $name = $_->{info} || $_->{device_LABEL};
+ $boot_devices{$dev} = $name ? "$dev ($name)" : $dev;
}
$in->ask_from_({ #messages => N("Bootloader main options"),