diff options
author | Phil Blundell <philb@gnu.org> | 2004-09-05 13:23:33 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-09-05 13:23:33 +0000 |
commit | 6e0baf72bf1e9b1d561c5e560d9f531dc67fa484 (patch) | |
tree | 0ca306ee1120bb34a4035f35e15d20af00d7b95d /classes/simpad_flashimg.oeclass | |
parent | 8ef11bf405d66e5b845d3f1447dc57b987dd602b (diff) |
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
Diffstat (limited to 'classes/simpad_flashimg.oeclass')
-rw-r--r-- | classes/simpad_flashimg.oeclass | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |