Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #3512

Category None
Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
Changed at Mon 03 Aug 2020 08:40:32
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision 1d9542c50e2c263256446170ffbd29d0e15bb96d


build: image: return sizes if check-size fails
Instead of just printing a warning that an image is too big, also
print both actual size and limit in the string:

WARNING: Image file somename.bin is too big: 2096101 > 1048576

Since the kernel size is checked via the same function (if
KERNEL_SIZE is specified), this will also apply to the kernel
image size check.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Changed files