[source] ramips: ZyXEL Keenetic Viva: align factory images

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 26 07:39:15 PST 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/0352cc6b195d94148dfdc49ae4473865dcafcdfa

commit 0352cc6b195d94148dfdc49ae4473865dcafcdfa
Author: Vitaly Chekryzhev <13hakta at gmail.com>
AuthorDate: Fri Jan 20 17:57:11 2017 +0500

    ramips: ZyXEL Keenetic Viva: align factory images
    
    ZyXEL web-flasher requires squashfs to be aligned to 64kb.
    
    Signed-off-by: Vitaly Chekryzhev <13hakta at gmail.com>
---
 target/linux/ramips/image/mt7620.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index d2a4ad7..f4f072f 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -469,7 +469,7 @@ define Device/kng_rc
   DEVICE_TITLE := ZyXEL Keenetic Viva
   DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b
   IMAGES += factory.bin
-  IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
+  IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
 	zyimage -d 8997 -v "ZyXEL Keenetic Viva"
 endef
 TARGET_DEVICES += kng_rc



More information about the lede-commits mailing list