On 10/11/17 2:21 PM, pau wrote:
A very nice improvement would be to detect which
routers are 4MB and
which ones are >4MB (this can be probably extracted from the
imagebuilder or sdk files). Then allow only the flavors which are
available for such flash space.
Nice idea, however currently there is no generic way to find the maximal
image size.
I see two solutions:
* parse
https://lede-project.org/toh/start
* add profile row 'max_imagesize' where the image-server logs the
minimal size of a faild build request.
The information will be returned on profile request.
However, building a too large image, jefe.tk will inform the user to
retry with less packages. This could already be a hint to choose a
smaller flavor.