From: Sander Vanheule Date: Wed, 28 Dec 2022 20:46:48 +0000 (+0100) Subject: realtek: fix default image generation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab8a5f2ea0e15e69a1f5e14642034eb75b2317fd;p=openwrt%2Fstaging%2Fthess.git realtek: fix default image generation While cleaning up the makefiles for the realtek target, the order of the default image generating commands was accidentally changed. This caused the image signature to end up somewhere in the middle, misaligning the rootfs. As a result, sysupgrade couldn't verify upgrade images anymore, and devices end up in a boot loop due to the unaligned (and not found) rootfs. Fixes: 94d8b4852b9f ("realtek: Cleanup Makefiles") Signed-off-by: Sander Vanheule --- diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index e4a3904aa8..66d7ee4895 100644 --- a/target/linux/realtek/image/Makefile +++ b/target/linux/realtek/image/Makefile @@ -102,11 +102,11 @@ define Device/Default IMAGES := sysupgrade.bin IMAGE/sysupgrade.bin := \ append-kernel | \ - append-metadata | \ + pad-to 64k | \ append-rootfs | \ - check-size | \ pad-rootfs | \ - pad-to 64k + check-size | \ + append-metadata endef include $(SUBTARGET).mk