From 8eeb6a0a91fcd92a408fa92cd334436db201fe29 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 10 Jan 2008 12:28:01 +0000 Subject: [PATCH] 'As GRUB limit on x86 is probably 191 entries, make sure we don't get more than 190 (one for safety)' svn path=/nixos/trunk/; revision=10110 --- installer/grub-menu-builder.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/installer/grub-menu-builder.sh b/installer/grub-menu-builder.sh index f24e1085e069..7d0e241e5268 100644 --- a/installer/grub-menu-builder.sh +++ b/installer/grub-menu-builder.sh @@ -35,7 +35,15 @@ if test -n "@grubSplashImage@"; then echo "splashimage $splashLocation" >> $tmp fi -configurationCounter=0; +configurationCounter=0 +configurationLimit="@configurationLimit@" +numAlienEntries=$(cat <