improve the robustness of savedefault and default.

This commit is contained in:
okuji 2001-02-02 13:39:59 +00:00
parent 00865a8027
commit dc1c0a6ccf
3 changed files with 22 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2001-02-02 OKUJI Yoshinori <okuji@gnu.org>
* stage2/builtins.c (savedefault_func)
[!SUPPORT_DISKLESS && !GRUB_UTIL]: Check if the stage2 is
STAGE2_ID_STAGE2. Suggested by Jochen Hoenicke.
* stage2/stage2.c (cmain): If DEFAULT_ENTRY is out of entries,
reset DEFAULT_ENTRY to zero.
2001-02-02 OKUJI Yoshinori <okuji@gnu.org>
Make savedefault workable even with Stage 1.5. Reported by