OpenWrt package feed for luainkernel
The feed is comprised by the following packages:
- lunatik
- lua5.4 (as a dependency)
Note
This feed has been tested only on OpenWrt 23.05.5.
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.
Important
Lua 5.4 is required for building Lunatik. Make sure to install it on the build machine.
Setup the target platform configuration as usual but make sure to select kmod-lunatik under the following path:
Kernel modules --->
Other modules --->
<*> kmod-lunatikIn 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