mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
53f4a686aa
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>
23 lines
543 B
Makefile
23 lines
543 B
Makefile
#
|
|
# Copyright (C) 2017 Yousong Zhou <yszhou4tech@gmail.com>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
BOARD:=armvirt
|
|
BOARDNAME:=QEMU ARM Virtual Machine
|
|
FEATURES:=fpu pci rtc usb
|
|
FEATURES+=cpiogz ext4 ramdisk squashfs targz
|
|
MAINTAINER:=Florian Fainelli <f.fainelli@gmail.com>, \
|
|
Yousong Zhou <yszhou4tech@gmail.com>
|
|
|
|
KERNEL_PATCHVER:=4.19
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += mkf2fs e2fsprogs
|
|
|
|
$(eval $(call BuildTarget))
|