treewide: call check-size before append-metadata
sysupgrade metadata is not flashed to the device, so check-size should be called _before_ adding metadata to the image. While at it, do some obvious wrapping improvements. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
@@ -24,7 +24,7 @@ define Device/Default
|
||||
DEVICE_DTS = $$(SOC)_$(1)
|
||||
IMAGES := sysupgrade.bin
|
||||
IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | \
|
||||
append-metadata | check-size
|
||||
check-size | append-metadata
|
||||
endef
|
||||
|
||||
# "NGE" refers to the uImage magic
|
||||
|
||||
Reference in New Issue
Block a user