]> xenbits.xensource.com Git - unikraft/libs/lua.git/log
unikraft/libs/lua.git
21 months agopatches: Remove outdated patch
Stefan Jumarea [Mon, 17 Jul 2023 07:28:48 +0000 (10:28 +0300)]
patches: Remove outdated patch

The patch was:
* Replacing the lua `main` symbol with `lua_main`.
* Removing checking that the given argument was a script, instead
  checking if there is an initrd filesystem present and trying to
  execute it.

The `main` symbol is already replaced in the preprocessing stage by
adding `-Dmain=lua_main` in the `Makefile.uk` flags, so renaming it is
not needed.

Trying to execute the initrd without properly extracting it will
obviously fail, since `lua` will not be able to read the script properly.
This will result in an `malformed number near '0707010..'` error.

The check for initrd is not needed at all, since the fs driver is
transparent for the application, and the script can be accessed as an
usual file, regardless of the fs driver (initrd, 9pfs, etc.).

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #8

2 years agolua/Makefile.uk: Bump version to 5.4.4 RELEASE-0.11.0 RELEASE-0.12.0 RELEASE-0.13.0 RELEASE-0.13.1
Jalil David Salamé Messina [Sun, 23 Oct 2022 10:46:34 +0000 (12:46 +0200)]
lua/Makefile.uk: Bump version to 5.4.4

Tested under x86_64, runs in `linuxu` and `kvm` using the Lua app in the
`app-lua` repository.

Signed-off-by: Jalil David Salamé Messina <jalil.salame@tum.de>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #4

3 years agolua/Makefile.uk: Bump to Lua version 5.4.3 RELEASE-0.10.0 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Fredrik Bakken [Wed, 1 Sep 2021 08:53:57 +0000 (10:53 +0200)]
lua/Makefile.uk: Bump to Lua version 5.4.3

Signed-off-by: Fredrik Bakken <Fredrik.Bakken@gmail.com>
Reviewed-by: Mocanu Gabriel <gabi.mocanu98@gmail.com>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #2

4 years agoliblua: Include signal dependency RELEASE-0.5 RELEASE-0.6
Sharan Santhanam [Fri, 5 Feb 2021 15:35:38 +0000 (16:35 +0100)]
liblua: Include signal dependency

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #1

5 years agoFix broken behaviour when given append parameter. RELEASE-0.4
Felipe Huici [Wed, 12 Feb 2020 18:51:00 +0000 (19:51 +0100)]
Fix broken behaviour when given append parameter.

This patch makes it so that Lua now goes straight into interactive
mode when not given initrd as a parameter; previosuly it was assuming
that the --append parameter was a file name to be read and executed,
which was broken.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
5 years agoPrevent make from deleting archive headers.
Felipe Huici [Wed, 16 Oct 2019 09:44:55 +0000 (11:44 +0200)]
Prevent make from deleting archive headers.

Add a PRECIOUS target to make sure that make does not treat archive
headers as intermediate and ends up deleting them.

Signed-off-by: Felipe Huici
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
5 years agoAdd optional main()
Felipe Huici [Wed, 16 Oct 2019 09:44:54 +0000 (11:44 +0200)]
Add optional main()

We add a menu option to provide a main() function, and set it to on by
default so that in the standard case a user can choose a platform,
compile and run.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
5 years agoFix typo in Makefile.uk
Felipe Huici [Wed, 16 Oct 2019 09:44:53 +0000 (11:44 +0200)]
Fix typo in Makefile.uk

Change CPPINCLUDES to CXXINCLUDES

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
5 years agoAdd dependencies to Config.uk
Felipe Huici [Wed, 16 Oct 2019 09:44:52 +0000 (11:44 +0200)]
Add dependencies to Config.uk

Select newlib, uktime and ukunistd as hard dependencies.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
5 years agoRemove exportsyms.uk .
Felipe Huici [Wed, 16 Oct 2019 09:44:51 +0000 (11:44 +0200)]
Remove exportsyms.uk .

We may re-introduce it at some later point in time if needed.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
5 years agoExport symbols
Felipe Huici [Wed, 11 Sep 2019 12:01:07 +0000 (14:01 +0200)]
Export symbols

Export lua symbols

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Jia He <justin.he@arm.com>
5 years agoAdd patches directory
Felipe Huici [Wed, 11 Sep 2019 12:01:06 +0000 (14:01 +0200)]
Add patches directory

Patch to rename main function and to add initrd support to main loop.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Jia He <justin.he@arm.com>
5 years agoAdd Makefile.uk
Felipe Huici [Wed, 11 Sep 2019 12:01:05 +0000 (14:01 +0200)]
Add Makefile.uk

Add lua port Makefile.uk

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Jia He <justin.he@arm.com>
5 years agoIntroduce library skeleton
Felipe Huici [Wed, 11 Sep 2019 12:01:04 +0000 (14:01 +0200)]
Introduce library skeleton

We use the BSD-3-Clause license for this library glue code.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Jia He <justin.he@arm.com>
5 years agoInitial commit (empty)
Felipe Huici [Tue, 27 Aug 2019 15:23:42 +0000 (17:23 +0200)]
Initial commit (empty)