[OpenWrt-Devel] [PATCH] lua: create "lua" symlink in staging dir

Rafał Miłecki zajec5 at gmail.com
Wed Jul 24 01:47:37 EDT 2019

From: Rafał Miłecki <rafal at milecki.pl>

Packages using host lua expect /bin/lua which has been recently renamed
to /bin/lua5.1. Create symlink for them.

This fixes e.g. following error with gluon:
/bin/sh: 1: openwrt/staging_dir/hostpkg/bin/lua: not found

Fixes: fe59b46ca7e0 ("lua: include version number in installed files")
Reported-by: Petr Štetiar <ynezz at true.cz>
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
 package/utils/lua/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index c911c6a913..a399a837cf 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -133,6 +133,7 @@ define Host/Install
+	$(LN) lua5.1 $(STAGING_DIR_HOSTPKG)/bin/lua
 define Build/InstallDev

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list