summaryrefslogtreecommitdiff
path: root/conf/oe.conf
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-11 14:48:18 +0000
committerPhil Blundell <philb@gnu.org>2004-09-11 14:48:18 +0000
commitedbcc8381109cffa49bd2dde94931b6dea1cad75 (patch)
treeb1a190593a41161f5241ad07b5dc293476b1aa25 /conf/oe.conf
parent6493a3c425660e03c028706762b741d706f90520 (diff)
add support for ext2 image type
BKrev: 41431032021AI8a2Ml9KgIp-JDyBZg
Diffstat (limited to 'conf/oe.conf')
-rw-r--r--conf/oe.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/oe.conf b/conf/oe.conf
index 8a5d6d4142..ffed5ae429 100644
--- a/conf/oe.conf
+++ b/conf/oe.conf
@@ -166,9 +166,11 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
--output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
${EXTRA_IMAGECMD}"
IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}"
+IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}"
IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
EXTRA_IMAGECMD = ""
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
+IMAGE_ROOTFS_SIZE_ext2 = "65536"
IMAGE_FSTYPE = "jffs2"
IMAGE_FSTYPES = "${IMAGE_FSTYPE}"