summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-07 10:19:59 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-07 10:19:59 +0100
commitded88c51bcc41df34561f96955a1535e39ac097b (patch)
tree8c19521a794062f98a122a40f59e5a97203e0e6e /classes
parentf02297a2a6b07571d51075ce08c7acefdbd88bbf (diff)
downloadmeta-ti-ded88c51bcc41df34561f96955a1535e39ac097b.tar.gz
sdcard_image bbclass: add ext4 support note
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'classes')
-rw-r--r--classes/sdcard_image.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
index 232b168d..96288ba2 100644
--- a/classes/sdcard_image.bbclass
+++ b/classes/sdcard_image.bbclass
@@ -130,6 +130,10 @@ IMAGE_CMD_sdimg () {
130 genext2fs -i 4096 -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 #ext4 support
134 #cp ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 ${WORKDIR}/${IMAGE_NAME}.rootfs.ext4
135 #tune2fs -O extents,uninit_bg,dir_index ${WORKDIR}/${IMAGE_NAME}.rootfs.ext4
136
133 dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS} 137 dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS}
134 138
135 ${LOSETUP} -d ${LOOPDEV_FS} || true 139 ${LOSETUP} -d ${LOOPDEV_FS} || true