From 6e0baf72bf1e9b1d561c5e560d9f531dc67fa484 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 5 Sep 2004 13:23:33 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into stealth.(none):/home/pb/oe/oe-packages 2004/09/05 14:23:19+01:00 (none)!pb put temporary .jffs2 file in ${T}, not deploy/images BKrev: 413b13552JQwrOoUNDVHxPqRgZq2vQ --- classes/simpad_flashimg.oeclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'classes/simpad_flashimg.oeclass') diff --git a/classes/simpad_flashimg.oeclass b/classes/simpad_flashimg.oeclass index ce591f7366..84b2d2e1e4 100644 --- a/classes/simpad_flashimg.oeclass +++ b/classes/simpad_flashimg.oeclass @@ -1,9 +1,12 @@ EXTRA_IMAGEDEPENDS += 'virtual/kernel genboot-native' -IMAGE_CMD_jffs2 += '; simpad_do_flashimg' +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ + --output=${T}/${IMAGE_NAME}.rootfs.jffs2 \ + ${EXTRA_IMAGECMD}; \ + simpad_do_flashimg" IMAGE_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/zImage*; " simpad_do_flashimg() { cd ${DEPLOY_DIR_IMAGE} - simpad-make-flashimg complete ${STAGING_KERNEL_DIR}/zImage ${IMAGE_NAME}.rootfs.jffs2 + simpad-make-flashimg complete ${STAGING_KERNEL_DIR}/zImage ${T}/${IMAGE_NAME}.rootfs.jffs2 mv zImage.initrd.flashfile ${IMAGE_NAME}.img } -- cgit v1.2.3