summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/sdcard_image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
index adf026a9..232b168d 100644
--- a/classes/sdcard_image.bbclass
+++ b/classes/sdcard_image.bbclass
@@ -127,7 +127,7 @@ IMAGE_CMD_sdimg () {
127 echo "Creating ext3 image" 127 echo "Creating ext3 image"
128 touch ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 128 touch ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
129 # lots of small files, so use 8k per inode, not 64k 129 # lots of small files, so use 8k per inode, not 64k
130 genext2fs -i 8192 -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 130 genext2fs -i 4096 -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
131 tune2fs -L ${IMAGE_NAME} -j ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 131 tune2fs -L ${IMAGE_NAME} -j ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3
132 132
133 dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS} 133 dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS}