[source] mvebu: append metadata to clearfog sd card images

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 13 08:51:40 PST 2017


jogo pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/367a3bb36f334d7a3583337047c0cda937e57573

commit 367a3bb36f334d7a3583337047c0cda937e57573
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Mon Feb 13 17:40:29 2017 +0100

    mvebu: append metadata to clearfog sd card images
    
    Fixes the following issue:
    
    root at LEDE:/# sysupgrade /tmp/lede-mvebu-armada-388-clearfog-sdcard.img.gz
    Saving metaconfig...
    Image metadata not found
    Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware
    Image check 'fwtool_check_image' failed.
    root at LEDE:/#
    
    Acked-by: Felix Fietkau <nbd at nbd.name>
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 target/linux/mvebu/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index d4596c5..bef699c 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -176,7 +176,7 @@ define Device/armada-388-clearfog
   DEVICE_TITLE := SolidRun ClearFog
   DEVICE_PACKAGES := mkf2fs e2fsprogs swconfig kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
   IMAGES := sdcard.img.gz
-  IMAGE/sdcard.img.gz := boot-scr | boot-img | sdcard-img | gzip
+  IMAGE/sdcard.img.gz := boot-scr | boot-img | sdcard-img | gzip | append-metadata
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
 endef
 TARGET_DEVICES += armada-388-clearfog



More information about the lede-commits mailing list