summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image_types.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 3aa3f17450..b590ae152b 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -133,12 +133,12 @@ IMAGE_CMD_ext2 () {
133} 133}
134 134
135IMAGE_CMD_ext3 () { 135IMAGE_CMD_ext3 () {
136 genext2fs -b $ROOTFS_SIZE -i 4096 -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 136 genext2fs -b $ROOTFS_SIZE -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3
137 tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 137 tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3
138} 138}
139 139
140oe_mkext4fs () { 140oe_mkext4fs () {
141 genext2fs -b $ROOTFS_SIZE -i 4096 -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} $1 141 genext2fs -b $ROOTFS_SIZE -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} $1
142 tune2fs -O extents,uninit_bg,dir_index,has_journal $1 142 tune2fs -O extents,uninit_bg,dir_index,has_journal $1
143 e2fsck -yfDC0 $1 || chk=$? 143 e2fsck -yfDC0 $1 || chk=$?
144 case $chk in 144 case $chk in
@@ -192,6 +192,7 @@ EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"
192# Change these if you want default genext2fs behavior (i.e. create minimal inode number) 192# Change these if you want default genext2fs behavior (i.e. create minimal inode number)
193EXTRA_IMAGECMD_ext2 ?= "-i 8192" 193EXTRA_IMAGECMD_ext2 ?= "-i 8192"
194EXTRA_IMAGECMD_ext3 ?= "-i 8192" 194EXTRA_IMAGECMD_ext3 ?= "-i 8192"
195EXTRA_IMAGECMD_ext4 ?= "-i 8192"
195EXTRA_IMAGECMD_btrfs ?= "" 196EXTRA_IMAGECMD_btrfs ?= ""
196 197
197IMAGE_DEPENDS = "" 198IMAGE_DEPENDS = ""