From 53f4a686aa8d0740c0a5b8626da6435c130de8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Thu, 28 Mar 2019 14:34:26 +0000 Subject: armvirt: fix overlay support by updating to f2fs/ext4 based overlays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Petr Štetiar --- target/linux/armvirt/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/armvirt/Makefile') diff --git a/target/linux/armvirt/Makefile b/target/linux/armvirt/Makefile index 9a67ab66a4..44d4ece224 100644 --- a/target/linux/armvirt/Makefile +++ b/target/linux/armvirt/Makefile @@ -17,4 +17,6 @@ KERNEL_PATCHVER:=4.19 include $(INCLUDE_DIR)/target.mk +DEFAULT_PACKAGES += mkf2fs e2fsprogs + $(eval $(call BuildTarget)) -- cgit v1.2.3