armvirt: fix overlay support by updating to f2fs/ext4 based overlays
authorPetr Štetiar <ynezz@true.cz>
Thu, 28 Mar 2019 14:34:26 +0000 (14:34 +0000)
committerPetr Štetiar <ynezz@true.cz>
Tue, 25 Jun 2019 14:12:22 +0000 (14:12 +0000)
commit53f4a686aa8d0740c0a5b8626da6435c130de8d1
treebcb1c2c4cb1449344ed9777ad136b587eeec2a26
parentd9426d537bcd35f4f748c985bc33f2861e0b3dd2
armvirt: fix overlay support by updating to f2fs/ext4 based overlays

Current snapshot images doesn't provide images with usable overlay
filesystems:

 mount_root: no usable overlay filesystem found, using tmpfs overlay

So this patch fixes this by updating support to current f2fs/ext4 based
overlays and providing squashfs with proper rootfs
TARGET_ROOTFS_PARTSIZE size.

While at it, I've also added support for optional gzipping of the
images, and renamed the output rootfs image filenames to match the more
common naming pattern $(IMG_PREFIX)-rootfs-$(FS-TYPE).img.

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/armvirt/Makefile
target/linux/armvirt/image/Makefile