summaryrefslogtreecommitdiffstats
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 22:40:51 +0100
commit407d1562450d430a25a9cc2e89a8bf18a75099b7 (patch)
treea66f9d251e0cba7f66b36cf1aafdbe3a8a3826ae /meta/classes/image-vm.bbclass
parent857da0884a645517e69407a8eafd0c33111ab8a3 (diff)
downloadpoky-407d1562450d430a25a9cc2e89a8bf18a75099b7.tar.gz
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.). (From OE-Core rev: 2b56d671d2f0ef22786c97e29e1215eb80c94490) 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} "
7 7
8# need to define the dependency and the ROOTFS for directdisk 8# need to define the dependency and the ROOTFS for directdisk
9do_bootdirectdisk[depends] += "${PN}:do_rootfs" 9do_bootdirectdisk[depends] += "${PN}:do_rootfs"
10ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" 10ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4"
11 11
12# creating VM images relies on having a hddimg so ensure we inherit it here. 12# creating VM images relies on having a hddimg so ensure we inherit it here.
13inherit boot-directdisk 13inherit boot-directdisk
14 14
15IMAGE_TYPEDEP_vmdk = "ext3" 15IMAGE_TYPEDEP_vmdk = "ext4"
16IMAGE_TYPEDEP_vdi = "ext3" 16IMAGE_TYPEDEP_vdi = "ext4"
17IMAGE_TYPEDEP_qcow2 = "ext3" 17IMAGE_TYPEDEP_qcow2 = "ext4"
18IMAGE_TYPES_MASKED += "vmdk vdi qcow2" 18IMAGE_TYPES_MASKED += "vmdk vdi qcow2"
19 19
20create_vmdk_image () { 20create_vmdk_image () {