Bug#690538: Isn't the submenu concept itself clashing with GRUB_DEFAULT settings != 0?

Maurizio Avogadro mavoga at gmail.com
Thu Jan 16 01:25:14 UTC 2014


Package: grub-common
Version: 2.00-22


I didn't read this bug report before trying to understand the issue; I
used to keep GRUB_DEFAULT=saved and the introduction of the submenu
catched me unprepared. Going to give my 2 cents by telling my thoughts.

I started to think that the creation of a submenu should be avoided in
any case when GRUB_DEFAULT is not set to 0: at next boot, if the default
entry is in the submenu, grub will show the submenu as selected without
showing what's going to boot, which doesn't make any sense IMO.

The attached patch, which applies to v2.00-22, tried to deal with this
issue by simply preventing first entry and submenu generation in such
circumstances.

Thanks


Maurizio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submenu.diff
Type: text/x-diff
Size: 675 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140116/13a040e7/attachment.diff>


More information about the Pkg-grub-devel mailing list