On Mon, Jun 22, 2009 at 5:44 PM, Robert Millan<r...@aybabtu.com> 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.

Hi,

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:

grub.cfg:
source osdetect.lua
...

osdetect.lua:
#!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
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Bean


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to