[syslinux] menu broken if default 'append' option specified

H. Peter Anvin hpa at zytor.com
Sat Jun 13 10:36:54 PDT 2009


Sebastian Herbszt wrote:
> 
> I assume your config looks somewhat like this:
> 
> UI menu.c32
> APPEND foo
> LABEL mylabel
> COM32 hello.c32
> 
> Due to the APPEND line "foo" gets passed to "menu.c32" and the menu
> system tries to parse it as the config file [1]. A similar problem was
> reported
> with the "ONERROR" keyword [2].
> 
> You can use "UI menu.c32 ~" to make it parse the config file as a
> workaround.
> 
> [1] http://syslinux.zytor.com/archives/2009-May/012507.html
> [2] http://syslinux.zytor.com/archives/2009-June/012747.html
> 

Hm, yes; historically this is obviously an artifact of using DEFAULT for
the user interface; the new UI keyword probably should ignore this.  At
this point I'm hesitant to add more ugliness to the complete snarl that
is the assembly parser and instead wait for the C rewrite.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list