<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 29, 2019 at 2:55 PM Baptiste Jonglez <<a href="mailto:baptiste@bitsofnetworks.org">baptiste@bitsofnetworks.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
In my community network we are changing the way we generate OpenWrt<br>
firmware images, and I took this opportunity to look at the existing<br>
methods based on the OpenWrt ImageBuilder and/or SDK.<br>
<br>
In the end, I found way more projects than I thought would exist!<br>
<br>
I documented everything I found here: <a href="https://openwrt.org/docs/guide-developer/imagebuilder_frontends" rel="noreferrer" target="_blank">https://openwrt.org/docs/guide-developer/imagebuilder_frontends</a><br>
<br>
Please add any project that I may have missed, and feel free to fix or add more<br>
details if you don't like the description of your project. </blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As a side-note, does anybody use uci-defaults scripts? <a href="https://openwrt.org/docs/guide-developer/uci-defaults" rel="noreferrer" target="_blank">https://openwrt.org/docs/guide-developer/uci-defaults</a><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
It seems like the best way to implement customization without having to<br>
update file templates with each OpenWrt release, but during my quick<br>
overview tour I haven't noticed any project using this method.<br></blockquote><div><br></div><div>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.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">-- <br></div><div class="gmail_quote">Russell Senior</div><div class="gmail_quote"><a href="mailto:russell@personaltelco.net">russell@personaltelco.net</a><br></div></div>