summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/image
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-13 17:40:29 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-13 17:50:41 +0100
commitc0841b3c4e0cc184cf2079c69fe84d11c483afcc (patch)
tree64a62a86fd25c7bf85ab302c045592e34a290a91 /target/linux/mvebu/image
parent90728c796d328f0c37475799711e88ba87259285 (diff)
downloadmtk-20170518-c0841b3c4e0cc184cf2079c69fe84d11c483afcc.zip
mtk-20170518-c0841b3c4e0cc184cf2079c69fe84d11c483afcc.tar.gz
mtk-20170518-c0841b3c4e0cc184cf2079c69fe84d11c483afcc.tar.bz2
mvebu: append metadata to clearfog sd card images
Fixes the following issue: root@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@LEDE:/# Acked-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/mvebu/image')
-rw-r--r--target/linux/mvebu/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 16d9334..61d2174 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