From: Stijn Tintel Date: Sat, 17 Feb 2018 20:00:34 +0000 (+0100) Subject: brcm2708: fix sdcard image X-Git-Tag: v18.06.0-rc1~914 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=6c2e1ff80f52b939405fe0c14577c584602ae432 brcm2708: fix sdcard image The gzip step in the sdcard image build fails because the image filename already has the gzip extension. This results in an empty image file, to which the metadata is finally appended. Remove the .gz extension from the image filename to fix this. Fixes: e79b096ee175 ("brcm2708: convert to metadata") Signed-off-by: Stijn Tintel --- diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 9ea9a07a9d..2d606e5649 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -50,8 +50,8 @@ define Device/Default FILESYSTEMS := ext4 KERNEL := kernel-bin | kernel-img KERNEL_IMG := kernel.img - IMAGES := sdcard.img.gz - IMAGE/sdcard.img.gz := boot-img | sdcard-img | gzip | append-metadata + IMAGES := sdcard.img + IMAGE/sdcard.img := boot-img | sdcard-img | gzip | append-metadata endef define Device/rpi