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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:37 +0000 (17:47 +0100)
commite284bb447cdad5dac7a256332977fd00e09ec3e5
tree3f6128d60958173d24da93c1c5c00f14b7146205
parentb8737dba9dc432e7106ae228c65283308bc709a1
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>
(backported from cff6548948f76b8d0c922ef5e5d456a88a78ab2e)
target/linux/apm821xx/image/Makefile