diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 5 |
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 | ||
135 | IMAGE_CMD_ext3 () { | 135 | IMAGE_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 | ||
140 | oe_mkext4fs () { | 140 | oe_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) |
193 | EXTRA_IMAGECMD_ext2 ?= "-i 8192" | 193 | EXTRA_IMAGECMD_ext2 ?= "-i 8192" |
194 | EXTRA_IMAGECMD_ext3 ?= "-i 8192" | 194 | EXTRA_IMAGECMD_ext3 ?= "-i 8192" |
195 | EXTRA_IMAGECMD_ext4 ?= "-i 8192" | ||
195 | EXTRA_IMAGECMD_btrfs ?= "" | 196 | EXTRA_IMAGECMD_btrfs ?= "" |
196 | 197 | ||
197 | IMAGE_DEPENDS = "" | 198 | IMAGE_DEPENDS = "" |