Skip to content

Custom OpenWrt package feed

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
LICENSE-GPL
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

luainkernel/openwrt_feed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Feed configuration

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.05

After that, update and install the feed:

./scripts/feeds update luainkernel
./scripts/feeds install -a -p luainkernel

Note

Refer to OpenWrt Feeds for more information about how feeds work.

Build instructions

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.

Configure buildroot

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.

Build an image for the target platform

In order to build an image, execute:

make -j$(nproc)

Important

For builds on WSL, make sure to follow Build system setup WSL.

Compile Lunatik

Once a full image build is complete, Lunatik may be recompiled by executing the following command:

make package/feeds/luainkernel/lunatik/compile

About

Custom OpenWrt package feed

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
LICENSE-GPL
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 100.0%