Hi,

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,

aaa

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.

-- 
Bean

Attachment: grub2-misc.diff
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to