[openwrt/openwrt] brcm2708: fix sdcard image

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 17 13:19:37 PST 2018


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

commit 6c2e1ff80f52b939405fe0c14577c584602ae432
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Sat Feb 17 21:00:34 2018 +0100

    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 <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 9ea9a07..2d606e5 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



More information about the lede-commits mailing list