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

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 28 08:11:03 PDT 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/fd693bc0e80bafe89a85db7f905d717310ab513b

commit fd693bc0e80bafe89a85db7f905d717310ab513b
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