[openwrt/openwrt] Revert "brcm2708: fix sdcard image"

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 19 18:46:44 PST 2018


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/858ff4f3e1877a4baf882788cfd99deab26fbb5e

commit 858ff4f3e1877a4baf882788cfd99deab26fbb5e
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Mon Feb 19 22:39:12 2018 +0100

    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 <drahemmaps at gmx.net>
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 target/linux/brcm2708/image/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile
index 2d606e5..9ea9a07 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



More information about the lede-commits mailing list