[syslinux] Syslinux 6.00 released

Matt Fleming matt at console-pimps.org
Thu Jun 27 03:45:28 PDT 2013


On Thu, 27 Jun, at 10:46:24AM, Romain Naour wrote:
> Hi,
> 
> I have the same problem as Helmut with INCLUDE keyword and extlinux 5.10 an later.
> The following configuration has been tested and worked with extlinux 4.05, 4.06, 5.01
> 
> Contents of "boot_label" file
> DEFAULT 1

[...]
 
> Thanks to Helmut report, the problem is fixed with:
> INCLUDE "boot_label"

If you change the contents of boot_label to "DEFAULT 2" does it boot the
LABEL 2 on timeout? My tests show that it doesn't.

The only thing that changing,

include foo

to

include "foo"

does is cause the the parser to fail to open the file. In other words,
the behaviour will be the same whether you delete the include directive
or wrap the filename in double-quotes.

I do think I see what the problem is though. Essentially, the config
parser completely reinitialises itself when parsing the include
directive, instead of cumulatively adding the contents.

I'll bisect to see why this broke after 5.01.

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list