[Battlemesh] ImageBuilder frontend projects, or how to generate custom OpenWrt images

Baptiste Jonglez baptiste at bitsofnetworks.org
Sat Oct 19 15:00:48 CEST 2019


Hi,

On 30-09-19, Russell Senior wrote:
> > As a side-note, does anybody use uci-defaults scripts?
> > https://openwrt.org/docs/guide-developer/uci-defaults
> >
> > It seems like the best way to implement customization without having to
> > update file templates with each OpenWrt release, but during my quick
> > overview tour I haven't noticed any project using this method.
> >
> 
> Yes, we use it. Iirc, one thing you need to be aware of is that the
> uci-defaults scripts run after any restored settings. This isn't a problem
> for us, because we never save settings when reflashing. I have some
> infrastructure that saves the initial uci config and diffs files in the
> overlayfs, so that any local changes can be noticed and folded into
> replacement firmware.

Thanks for this input!

I take it that you generate firmware images then, which tool do you use?
Just the imagebuilder + uci-defaults scripts, or something more elaborate?

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ml.ninux.org/pipermail/battlemesh/attachments/20191019/1e91e15d/attachment.sig>


More information about the Battlemesh mailing list