summaryrefslogtreecommitdiff
path: root/meta/classes/image-vm.bbclass
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-08-11 12:02:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-16 09:25:17 +0100
commit2b56d671d2f0ef22786c97e29e1215eb80c94490 (patch)
tree0d1938bea1e55fc979207458a81bd8162f7a92b3 /meta/classes/image-vm.bbclass
parent73c98d38e94d3b1407620c134f3b00dcd9d6132c (diff)
downloadopenembedded-core-2b56d671d2f0ef22786c97e29e1215eb80c94490.tar.gz
openembedded-core-2b56d671d2f0ef22786c97e29e1215eb80c94490.tar.bz2
openembedded-core-2b56d671d2f0ef22786c97e29e1215eb80c94490.zip
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 <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-vm.bbclass')
-rw-r--r--meta/classes/image-vm.bbclass8
1 files changed, 4 insertions, 4 deletions
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 () {