summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-27 15:33:45 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-27 15:33:45 +0000
commit011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8 (patch)
treefb39d123c91a62e94d52760e4254933915497dde /perl-install/bootloader.pm
parent0f2b305002af0e6212f693ba0230392c47bc4ac5 (diff)
downloaddrakx-011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8.tar
drakx-011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8.tar.gz
drakx-011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8.tar.bz2
drakx-011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8.tar.xz
drakx-011c414a86b92e8fa8827d4b13a3ab82d8d3e3a8.zip
(add_entry) try harder to get a label for other OSes (mga#9849,9681)
rationale: on systems with lot of OSes and/or using grub2, we may well have already more than 10 alt entries
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index d2761c016..74601d740 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -624,7 +624,7 @@ sub add_entry {
my $to_add = $v;
my $label = $v->{label};
- for (my $i = 0; $i < 10;) {
+ for (my $i = 0; $i < 100;) {
my $conflicting = get_label($label, $bootloader);
$to_add->{label} = $label;