[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] File access library for lua

From: Bean
Subject: Re: [PATCH] File access library for lua
Date: Mon, 22 Jun 2009 18:26:02 +0800

On Mon, Jun 22, 2009 at 5:44 PM, Robert Millan<address@hidden> wrote:
> On Mon, Jun 22, 2009 at 11:38:35AM +0800, Bean wrote:
>> >
>> > I'm feeling uneasy about having a parser in GRUB that is not used by
>> > default, but it's not related to the quality of the patch.
>> Actually, this is about to change.
> I don't mind LUA being supported if it's useful for some users, but I'm
> not satisfied with ditching GRUB scripting engine with something external.
> We really should discuss it with Marco or Okuji before changing the
> default parser to something else.


No need to change the default parser, with the #! syntax, we can call
the lua script from main grub.cfg, and the parser will switch back to
sh on return, something like this:

source osdetect.lua


> --
> Robert Millan
>  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
>  how) you may access your data; but nobody's threatening your freedom: we
>  still allow you to remove your data and not access it at all."
> _______________________________________________
> Grub-devel mailing list
> address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]