From 1ac7cbdb50240853cb0a7324846b2354431cc12d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 27 Apr 2013 15:33:45 +0000 Subject: (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 --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/bootloader.pm') 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; -- cgit v1.2.1