[oe-commits] Juro Bystricky : build-appliance-image: use ext4 for rootfs

git at git.openembedded.org git at git.openembedded.org
Sun Aug 16 21:41:18 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 0c747865f761d825c8a9b826d843573e5aac3ca5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0c747865f761d825c8a9b826d843573e5aac3ca5

Author: Juro Bystricky <juro.bystricky at intel.com>
Date:   Tue Aug 11 12:02:43 2015 -0700

build-appliance-image: use ext4 for rootfs

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/images/build-appliance-image_12.0.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/images/build-appliance-image_12.0.1.bb b/meta/recipes-core/images/build-appliance-image_12.0.1.bb
index 8e71b36..0a86ba4 100644
--- a/meta/recipes-core/images/build-appliance-image_12.0.1.bb
+++ b/meta/recipes-core/images/build-appliance-image_12.0.1.bb
@@ -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 () {



More information about the Openembedded-commits mailing list