OpenWrt package feed for luainkernel
The feed is comprised by the following packages:
- lunatik
- lua5.4, as a dependency for executing Lunatik user-space utilities
In order to use this feed into an OpenWrt build, add the following line to your feeds.conf.default:
src-git luainkernel https://github.com/luainkernel/openwrt_feed.git;openwrt-23.05After that, update and install the feed:
./scripts/feeds update luainkernel
./scripts/feeds install -a -p luainkernelNote
Refer to OpenWrt Feeds for more information about how feeds work.
Important
Starting on Lunatik 4.0, Lua 5.4 is required for build configuration on the build machine. Make sure to have it installed.
For example, on Debian/Ubuntu machines, run sudo apt-get install lua5.4.
Setup the target platform configuration as usual but make sure to select kmod-lunatik under the following path:
Kernel modules --->
Other modules --->
<*> kmod-lunatik................. Lunatik Lua Interpreter
Lunatik modules --->Note
Optionally unselect modules by navigating to sub-menu Lunatik Modules, which is enabled once kmod-lunatik is selected as show above.
In order to build an image, execute:
make -j$(nproc)Important
For builds on WSL, make sure to follow Build system setup WSL.
Once a full image build is complete, Lunatik may be recompiled by executing the following command:
make package/feeds/luainkernel/lunatik/compile