grub-devel
[Top][All Lists]
Advanced

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

Re: Can LUA e coming with future Grub2


From: Robert Millan
Subject: Re: Can LUA e coming with future Grub2
Date: Wed, 3 Sep 2008 12:25:32 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Sep 03, 2008 at 04:25:12PM +0800, Bean wrote:
> On Wed, Sep 3, 2008 at 12:56 PM, y.volta <address@hidden> wrote:
> > For the Grub2 internal script engine, yes, it is little. but need more work
> > to be improved. About the size, i think, Lua can be a replacement if this
> > lua.mod is available at runtime. at the same time, why not load gziped mod
> > file from disk? this will reduce the size of lua module: 100,436 bytes ->
> > 49,766.
> >
> > But the benifit of using Lua, i think, is for graphic menu. the gfxmenu uses
> > a strange script engine, it is hard to learn for a common user; but the Lua,
> > it is easy. ;-)
> >
> >
> > So, it is good to have lua support in Grub2.
> 
> Hi,
> 
> In my suggestion to split normal mode, the script engine is separated
> and can be replaced, as long as they export a certain interface that
> return information like the menu items, etc. But now, I'm waiting for
> the handler patch, as it's the basic of the new model.

Note that size is still an issue, though.  For example coreboot users will
usually want to use scripting for the grub.cfg they store in their ROM.

-- 
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."




reply via email to

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