[Top][All Lists]

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

[PATCH] Misc bug fix for grub2

From: Bean
Subject: [PATCH] Misc bug fix for grub2
Date: Mon, 19 Nov 2007 19:13:51 +0800


These small patches have been in my hd for quite some time, just post
it together.

1, echo.mod missing in pkgdata_MODULES

2, Check for undefined variable, for example, if AA is not defined,
echo $AA will output garbage, after this patch, echo $AA will output
empty string.

3, Properly reset error number. In the following grub.cfg,


menuentry m1 {
    set root=(hd0,1)
    chainloader +1

menuentry m2 {
    set root=(hd0,2)
    chainloader +1

The menu will not be showed because the error caused by undefined
command aaa will affect the parser. After the patch, the error number
is reset and this problem wouldn't happen any more.


Attachment: grub2-misc.diff
Description: Binary data

reply via email to

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