summaryrefslogtreecommitdiffstats
path: root/meta/classes/image_types.bbclass
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2013-06-26 14:10:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-28 09:14:06 +0100
commit0450c31ca4d6daf075f59c57e6ec76a602155bab (patch)
treee4938f74fb193e2c11cf93eafd2b6f487897e0d0 /meta/classes/image_types.bbclass
parente474fd9d47817d8f19db482a0de3410063497aae (diff)
downloadpoky-0450c31ca4d6daf075f59c57e6ec76a602155bab.tar.gz
image_types.bbclass: set 'filetype' ext4 feature
Generating filesystems with this flag allows more efficient directory traversals because getdents() returns the filetype in 'd_type' which allows to avoid an extra lstat() call. Creating ext4 filesystems with 'mkfs.ext4' sets this flag by default too. (From OE-Core rev: 75e077025397f3bde84e60a9da2c0564ade09b39) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image_types.bbclass')
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 9a52e727ae..0e5a9a8600 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -155,7 +155,7 @@ IMAGE_CMD_ext3 () {
155 155
156oe_mkext4fs () { 156oe_mkext4fs () {
157 genext2fs -b $ROOTFS_SIZE -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} $1 157 genext2fs -b $ROOTFS_SIZE -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} $1
158 tune2fs -O extents,uninit_bg,dir_index,has_journal $1 158 tune2fs -O extents,uninit_bg,dir_index,has_journal,filetype $1
159 e2fsck -yfDC0 $1 || chk=$? 159 e2fsck -yfDC0 $1 || chk=$?
160 case $chk in 160 case $chk in
161 0|1|2) 161 0|1|2)