apm821xx: split MBL's rootfs.img.gz into a sysupgrade and factory image
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 29 Jul 2018 09:55:16 +0000 (11:55 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 06:12:13 +0000 (08:12 +0200)
commitcff6548948f76b8d0c922ef5e5d456a88a78ab2e
treedcece3602608f21ebe7f5bfae28ccf89b1563613
parentaed4799d6d05d89dbca1bd5f14cc3d09ac563f3b
apm821xx: split MBL's rootfs.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".
<https://forum.lede-project.org/t/corrupted-pre-built-v18-06-0-rc2-image-for-rpi>

The MBL's rootfs.img.gz image is generated in much the same way.
Hence this patch preemptively splits the rootfs.img.gz image into
a sysupgrade and a factory image.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/image/Makefile