bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new fallback, savedefault


From: Alban Crequy
Subject: Re: new fallback, savedefault
Date: Tue, 20 Jul 2004 01:14:39 +0200
User-agent: Mutt/1.5.6+20040523i

Hello,

I've found why the new fallback-savedefault didn't work. In fact, grub
searchs the file "/boot/grub/menu.lstdefault" instead of
"/boot/grub/default".

--------------------------------------------------
$ diff -u stage2/stage2.c-before stage2/stage2.c
--- stage2/stage2.c-before      2004-07-19 18:06:57.000000000 -0400
+++ stage2/stage2.c     2004-07-19 18:07:51.000000000 -0400
@@ -879,6 +879,7 @@
                i++;
                break;
              }
+         default_file[i] = 0;
          grub_strncat (default_file + i, "default", DEFAULT_FILE_BUFLEN - i);
          if (grub_open (default_file))
            {
--------------------------------------------------

--
Alban Crequy
Stagiaire

Révolution Linux http://www.revolutionlinux.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]