]> code.ossystems Code Review - openembedded-core.git/commitdiff
build-appliance-image: use ext4 for rootfs
authorJuro Bystricky <juro.bystricky@intel.com>
Tue, 11 Aug 2015 19:02:43 +0000 (12:02 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 16 Aug 2015 08:25:18 +0000 (09:25 +0100)
Changes due to IMAGES_FSTYPES "vmdk" and "vdi" now defaulting to ext4.
Switching Build Appliance to Ext4 will bring it more in-line with other BSPs.

[YOCTO #8096]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/images/build-appliance-image_12.0.1.bb

index 8e71b36ba139a8876e92b64ecd9e27410d5a43d5..0a86ba4b3debedc62306107a71020c1a24ca6dd5 100644 (file)
@@ -14,7 +14,7 @@ IMAGE_FEATURES += "x11-base package-management splash"
 IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
 
 # Do a quiet boot with limited console messages
-APPEND += "quiet"
+APPEND += "rootfstype=ext4 quiet"
 
 DEPENDS = "zip-native"
 IMAGE_FSTYPES = "vmdk"
@@ -27,9 +27,9 @@ SRC_URI = "git://git.yoctoproject.org/poky \
            file://Yocto_Build_Appliance.vmxf \
           "
 
-IMAGE_CMD_ext3_append () {
+IMAGE_CMD_ext4_append () {
        # We don't need to reserve much space for root, 0.5% is more than enough
-       tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3
+       tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4
 }
 
 fakeroot do_populate_poky_src () {