sdcard_image bbclass: increas inode count again
authorKoen Kooi <koen@dominion.thruhere.net>
Sat, 5 Nov 2011 14:18:04 +0000 (15:18 +0100)
committerKoen Kooi <koen@dominion.thruhere.net>
Sat, 5 Nov 2011 14:18:04 +0000 (15:18 +0100)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
classes/sdcard_image.bbclass

index adf026a901211c250da2be10410a51271bc3801d..232b168d0a964ba9888bd753524c098211c00f86 100644 (file)
@@ -127,7 +127,7 @@ IMAGE_CMD_sdimg () {
        echo "Creating ext3 image"
        touch ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
        # lots of small files, so use 8k per inode, not 64k
        echo "Creating ext3 image"
        touch ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
        # lots of small files, so use 8k per inode, not 64k
-       genext2fs -i 8192 -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
+       genext2fs -i 4096 -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
        tune2fs -L ${IMAGE_NAME} -j ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
 
        dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS}
        tune2fs -L ${IMAGE_NAME} -j ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
 
        dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS}