From: Christian Lamparter Date: Sun, 29 Jul 2018 09:55:14 +0000 (+0200) Subject: brcm2708: split sdcard.img.gz into a sysupgrade and factory image X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4dc0ff8183a45d80db88a4b42a24cb0371786e35;p=librecmc%2Flibrecmc.git brcm2708: split sdcard.img.gz into a sysupgrade and factory image @vahid-dan reported a issue with extracting the rpi images with Gnome's Archive Manager: "Ubuntu Archive Manager cannot extract the file and it just throws a general error message: "An error occurred while extracting files". @blogic told me to split the single sdcard.img.gz for the RPi into a sysupgrade and a factory image for all brcm2708 targets. The factory images will have no metadata attached, this way these utilities that can't deal with the attached metadata will not fail for no reason. Cc: John Crispin Signed-off-by: Christian Lamparter (cherry picked from commit 7516a960113d512cb2909f40bd07caf2a6c547b1) --- diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 326ef5a0ee..8ace69bdfd 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -49,8 +49,9 @@ endef define Device/Default 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 := factory.img.gz sysupgrade.img.gz + IMAGE/sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata + IMAGE/factory.img.gz := boot-img | sdcard-img | gzip endef define Device/rpi