OpenWrt Forum Archive

Topic: Build Image with Custom Luci?

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I have a alix 2d13 board and have successfully build with BB.  Now I have some changes to the default Luci interface and added a few additional pages.   My question is, How do I apply those changes to my build?   Any pointers would be appreciated.  Thanks.

Regards

recompile luci

What kind for files did you create ?
lua, js, html, css could be simply copied into the correct directories on the router.
Inside [buildroot] you need a [buildroot]/files directory.
There you setup the structure you need and put in your files.
During build the whole structure inside /files is copied last just before creating the image.

The discussion might have continued from here.