diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-24 01:43:34 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-24 02:11:18 +0200 |
commit | b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a (patch) | |
tree | 681739a6bf8cf13de2ae1e95e6b42c475d85b57b /perl-install | |
parent | b9367aa2b65cc1d40eaf46cd296f1ef8876a212e (diff) | |
download | drakx-b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a.tar drakx-b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a.tar.gz drakx-b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a.tar.bz2 drakx-b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a.tar.xz drakx-b03c0a60a78b91ce7011fa9e0dc6c334a6fde18a.zip |
do display boot device list even if there's only one disk
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 81511e680..a096df0e2 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -409,7 +409,7 @@ sub setupBootloader__general { { label => N("Bootloader"), title => 1 }, { label => N("Bootloader to use"), val => \$b->{method}, list => \@method_choices, format => \&bootloader::method2text }, - { label => N("Boot device"), val => \$b->{boot}, list => \@boot_devices, + { label => N("Boot device"), val => \$b->{boot}, list => \@boot_devices, allow_empty_list => 1, format => sub { $boot_devices{$_[0]} }, disabled => sub { is_uefi() } }, { label => N("Main options"), title => 1 }, { label => N("Delay before booting default image"), val => \$b->{timeout} }, |