[Buildroot] [PATCH 4/4] swupdate: added a warning for LuaJIT/Lua 5.1

Jörg Krause joerg.krause at embedded.rocks
Fri Jul 29 16:20:34 UTC 2016


On So, 2016-07-24 at 16:27 -0700, Jordan Yelloz wrote:
> Signed-off-by: Jordan Yelloz <jordan at yelloz.me>
> ---
>  package/swupdate/Config.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/swupdate/Config.in b/package/swupdate/Config.in
> index 85dde4eb0bc5..046903de87f5 100644
> --- a/package/swupdate/Config.in
> +++ b/package/swupdate/Config.in
> @@ -55,6 +55,12 @@ config BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE
>  	  This is necessary if you want to run swupdate with the
> embedded
>  	  webserver and do not provide an own website to be
> installed to
>  	  /var/www/swupdate.
> +
> +if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
> +comment "swupdate cannot use CONFIG_HANDLER_IN_LUA with Lua API <
> 5.2."
> +comment "Lua parsers and pre/post-install hooks should still
> work.    "
> +endif
> +

I would prefer to put this as a note in the help text.

Do you know where this restriction comes from? Why does the Lua
handlers does not work? Did you tell upstream about the issue? AFAIK
swupate should work with Lua 5.1 - 5.3, but I did not checked.

Best regards
Jörg Krause


More information about the buildroot mailing list