From 2b56d671d2f0ef22786c97e29e1215eb80c94490 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Tue, 11 Aug 2015 12:02:42 -0700 Subject: IMAGES_FSTYPES: default to EXT4 The following IMAGES_FSTYPES defaulted to ext3: "vmdk", "vdi", "qcow2", "live", "iso", "hddimg" This patch changes the default for those IMAGES_FSTYPES to ext4 in order to bring the images more in line with other BSPs. Besides improvements in performance and reliability ext4 provides additional functionality as well (option to turn off the journaling, dynamic resizing of VDI volumes etc.). Signed-off-by: Juro Bystricky Signed-off-by: Richard Purdie --- meta/classes/image-vm.bbclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/classes/image-vm.bbclass') diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass index 28519c8af1..bc0503bfc0 100644 --- a/meta/classes/image-vm.bbclass +++ b/meta/classes/image-vm.bbclass @@ -7,14 +7,14 @@ LABELS_append = " ${SYSLINUX_LABELS} " # need to define the dependency and the ROOTFS for directdisk do_bootdirectdisk[depends] += "${PN}:do_rootfs" -ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" +ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4" # creating VM images relies on having a hddimg so ensure we inherit it here. inherit boot-directdisk -IMAGE_TYPEDEP_vmdk = "ext3" -IMAGE_TYPEDEP_vdi = "ext3" -IMAGE_TYPEDEP_qcow2 = "ext3" +IMAGE_TYPEDEP_vmdk = "ext4" +IMAGE_TYPEDEP_vdi = "ext4" +IMAGE_TYPEDEP_qcow2 = "ext4" IMAGE_TYPES_MASKED += "vmdk vdi qcow2" create_vmdk_image () { -- cgit 1.2.3-korg