From: Stijn Tintel Date: Mon, 19 Feb 2018 21:39:12 +0000 (+0100) Subject: Revert "brcm2708: fix sdcard image" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=858ff4f3e1877a4baf882788cfd99deab26fbb5e;p=openwrt%2Fstaging%2Frobimarko.git Revert "brcm2708: fix sdcard image" This reverts commit 6c2e1ff80f52b939405fe0c14577c584602ae432. GNU gzip does not fail when the image filename already contains the .gz extension, this is a problem specific to pigz. Revert the commit, as we now gzip the image twice. Reported-by: Martin Schleier Signed-off-by: Stijn Tintel --- diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 2d606e5649..9ea9a07a9d 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 - IMAGE/sdcard.img := boot-img | sdcard-img | gzip | append-metadata + IMAGES := sdcard.img.gz + IMAGE/sdcard.img.gz := boot-img | sdcard-img | gzip | append-metadata endef define Device/rpi