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: e79b096ee1 ("brcm2708: convert to metadata")

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel 2018-02-17 21:00:34 +01:00
parent 81ccf24c09
commit 6c2e1ff80f

View File

@ -50,8 +50,8 @@ define Device/Default
FILESYSTEMS := ext4 FILESYSTEMS := ext4
KERNEL := kernel-bin | kernel-img KERNEL := kernel-bin | kernel-img
KERNEL_IMG := kernel.img KERNEL_IMG := kernel.img
IMAGES := sdcard.img.gz IMAGES := sdcard.img
IMAGE/sdcard.img.gz := boot-img | sdcard-img | gzip | append-metadata IMAGE/sdcard.img := boot-img | sdcard-img | gzip | append-metadata
endef endef
define Device/rpi define Device/rpi