summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2013-06-26 14:10:25 +0200
committerSaul Wold <sgw@linux.intel.com>2013-06-27 09:55:57 -0700
commit75e077025397f3bde84e60a9da2c0564ade09b39 (patch)
treea7940a8baefb4db05d5809dea7095b2ddce3c61a /meta/classes
parent8695a11c927e9ee130b8c9ddf6441f3cb7164fc2 (diff)
downloadopenembedded-core-75e077025397f3bde84e60a9da2c0564ade09b39.tar.gz
openembedded-core-75e077025397f3bde84e60a9da2c0564ade09b39.tar.bz2
openembedded-core-75e077025397f3bde84e60a9da2c0564ade09b39.zip
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. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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 () {
oe_mkext4fs () {
genext2fs -b $ROOTFS_SIZE -d ${IMAGE_ROOTFS} ${EXTRA_IMAGECMD} $1
- tune2fs -O extents,uninit_bg,dir_index,has_journal $1
+ tune2fs -O extents,uninit_bg,dir_index,has_journal,filetype $1
e2fsck -yfDC0 $1 || chk=$?
case $chk in
0|1|2)