image: fix ar71xx legacy images
authorMathias Kresin <dev@kresin.me>
Fri, 14 Jul 2017 17:35:02 +0000 (19:35 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 14 Jul 2017 21:36:50 +0000 (23:36 +0200)
commitf6907dcc7968a81ebbe75b630dde919468cc8025
tree45831adbda41d1b5b10356e0efe5841be8d00bc1
parent8fbef4b11b790e3f4cb41f3182015b5a3bb6b89f
image: fix ar71xx legacy images

If TARGET_PER_DEVICE_ROOTFS and DEVICE_PACKAGES are used for ar71xx
legacy images:

- an already jffs2 padded squashfs rootfs is overwritten
  with an unpadded/raw one.

- the squashfs-raw and squashfs-64k rootfs are not replaced by the
  ones including the DEVICE_PACKAGES

Call Image/Build/squashfs after the DEVICE_PACKAGES are added to the
base squashfs rootfs to fix the issues.

Fixes: FS#904
Signed-off-by: Mathias Kresin <dev@kresin.me>
include/image-legacy.mk