sdcard_image bbclass: add ext4 support note
authorKoen Kooi <koen@dominion.thruhere.net>
Mon, 7 Nov 2011 09:19:59 +0000 (10:19 +0100)
committerKoen Kooi <koen@dominion.thruhere.net>
Mon, 7 Nov 2011 09:19:59 +0000 (10:19 +0100)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
classes/sdcard_image.bbclass

index 232b168d0a964ba9888bd753524c098211c00f86..96288ba2cc551b9d42a503bfabfa33ff4075b453 100644 (file)
@@ -130,6 +130,10 @@ IMAGE_CMD_sdimg () {
        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
 
+       #ext4 support
+       #cp ${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 ${WORKDIR}/${IMAGE_NAME}.rootfs.ext4 
+       #tune2fs -O extents,uninit_bg,dir_index ${WORKDIR}/${IMAGE_NAME}.rootfs.ext4
+
        dd if=${WORKDIR}/${IMAGE_NAME}.rootfs.ext3 of=${LOOPDEV_FS}
 
        ${LOSETUP} -d ${LOOPDEV_FS} || true