Re: Why Lua support was removed

2020-10-15 Thread Tianjia Zhang
Hi, I know, but it seems that the functions that grub exports to lua are relatively small, but it is really cool to be able to use lua in grub. Thanks for your reply. Best regards, Tianjia ___ Grub-devel mailing list Grub-devel@gnu.org https://list

Re: Why Lua support was removed

2020-10-14 Thread Vladimir 'phcoder' Serbinenko
Here is the repo: https://savannah.nongnu.org/git/?group=grub-extras As to why is not in main repo: 1) it's a different license 2) it's a large codebase compared to grub itself 3) it's useful only in edge cases So it was kept in separate repo If you have any trouble please let me know On Wed, 14

Re: Why Lua support was removed

2020-10-14 Thread Vladimir 'phcoder' Serbinenko
Lua is not part of official grub. You need to add grub-contrib for it to work. If you still have problem even with grub-contrib enabled please let me know On Wed, 14 Oct 2020, 10:34 Tianjia Zhang, wrote: > Hi everyone, > > I want to use lua to do some logic on grub, which needs to be embedded >

Re: Why Lua support was removed

2020-10-14 Thread Lennart Sorensen
On Wed, Oct 14, 2020 at 04:33:31PM +0800, Tianjia Zhang wrote: > I want to use lua to do some logic on grub, which needs to be embedded in > the lua interpreter. I found that grub supports lua as early as 2009, and > only a few months later, the lua was removed. I checked the Changelog and > git lo