diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-17 20:07:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-17 20:07:34 +0000 |
commit | fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0 (patch) | |
tree | f99c3ff37e35b9a103f752b06ab943a5b52e76ca /perl-install/any.pm | |
parent | 033b25820bd687376969758405b732fb3c81a9cb (diff) | |
download | drakx-fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0.tar drakx-fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0.tar.gz drakx-fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0.tar.bz2 drakx-fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0.tar.xz drakx-fd5e66c3bf52eb4b832d49b300fe3eb41dbebcc0.zip |
(setupBootloader__general) display partition labels in list instead of just disk names in "boot device" choice
hard disk names were displayed since 'as suggested in bug #21524, display the
info on hard drives in the "boot device" choice' (pixel, 2006-03-09)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 3 |
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"), |