[syslinux] VPD information, macros and syslinux

Dag Wieers dag at wieers.com
Wed Sep 24 16:11:43 PDT 2008


On Wed, 24 Sep 2008, H. Peter Anvin wrote:

> Dag Wieers wrote:
>
>> My preference would go for the second. Imagine we have some sort of lua
>> scripting language integrated and we could instead of providing a
>> config-file, provide a lua-script that outputs a config-file.
>>
>> Using a general purpose language allows to test those scripts on a normal
>> system. But it also allows to create functions to do more advanced things
>> like get DMI/VPD information and use that when generating the boot labels.
>>
>> In a later stadium we could even allow inline lua-scripts inside the
>> config-file (although I don't really see how that would be useful atm).
>>
>> What do people think ?
>
> Well, a lot of work in this area has already been done; we have a number
> of query libraries, and we have a Lua interpreter.  The main thing is
> for someone to spend the time and put them together.

But the lua interpreter would be used to dynamically create the current 
syntax config-file ? Or would it work differently ?

Sadly I don't think I am qualified for that job :-/

But there are a lot of use-cases that I can write up, which could be used 
as a set of requirements for the implementation ?

-- 
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]




More information about the Syslinux mailing list