Hello,
For Lua inclusion in Syslinux an idea to ship with an com32/lua/assist
directory and an com32/lua/patches directory.
In the patches directory patches against a pristine lua tarball
and the assist dir contains scripts for further tayloring.
This is what I have in mind:
| milleune at inertia:~
| $ git clone http://www.stappers.it/tracking/syslinux/.git
syslinux-lua-stappers
| milleune at inertia:~
| $ cd syslinux-lua-stappers/
| milleune at inertia:~/syslinux-lua-stappers
| $ cd com32/lua
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ ls
| assist patches README.syslinux
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ cat README.syslinux
|
| The Syslinux bootloader family has support for Lua.
|
| However default build and default released tarballs don't have
| Lua included, but programms in the assist directory help you
| with getting Lua for Syslinux.
|
| Typing
|
| assist/get
|
| will get you the Lua source from Internet.
|
|
| With
|
| assist/patch
|
| are patches applied.
|
|
| Use
|
| assist/modimf
|
| to modify a makefile in the Syslinux tree,
| so that Lua gets build for Syslinux.
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ ls
| assist patches README.syslinux
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ assist/get
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ ls
| assist doc HISTORY lua-5.1.3.tar.gz patches README.syslinux src_copy
| COPYRIGHT etc INSTALL Makefile README src test
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ diff src_copy/ src/
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ assist/patch
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ diff src_copy/ src/ | wc
| 317 1480 9925
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ git diff ../Makefile
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ assist/modimf
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $ git diff ../Makefile
| diff --git a/com32/Makefile b/com32/Makefile
| index bfb8e3a..5d1ff44 100644
| --- a/com32/Makefile
| +++ b/com32/Makefile
| @@ -1,4 +1,4 @@
| -SUBDIRS = lib libutil modules menu samples
| +SUBDIRS = lib libutil modules menu samples lua/src
|
| all tidy dist clean spotless install:
| set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
| milleune at inertia:~/syslinux-lua-stappers/com32/lua
| $
It is work from august and misses recent work on the Lua patches.
How to 'git checkout the_lua_branch' ?
Cheers
Geert Stappers