diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-06 19:39:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-06 19:39:23 +0000 |
commit | 611ba5d66a11ded11b6b263cda7affd2f5e2162f (patch) | |
tree | 48ee5ef66aed956922e6082e57821bb5ff3be113 /meta/conf/machine | |
parent | d34b2f60a1303888b2d99a6f284d54e7f522b665 (diff) | |
download | openembedded-core-611ba5d66a11ded11b6b263cda7affd2f5e2162f.tar.gz openembedded-core-611ba5d66a11ded11b6b263cda7affd2f5e2162f.tar.bz2 openembedded-core-611ba5d66a11ded11b6b263cda7affd2f5e2162f.zip |
em-x270.conf: Fix kernel part of image generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3414 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/em-x270.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/conf/machine/em-x270.conf b/meta/conf/machine/em-x270.conf index c45b9fb6b2..a95b0129a8 100644 --- a/meta/conf/machine/em-x270.conf +++ b/meta/conf/machine/em-x270.conf @@ -26,12 +26,15 @@ IMAGE_CMD_jffs2 = " \ sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ -e 0x20000 -p; \ + mkdir -p ${WORKDIR}/img; \ + mkdir -p ${WORKDIR}/kern-img/; \ + install -m 0644 `readlink -f ${DEPLOY_DIR_IMAGE}/uImage-em-x270.bin` ${WORKDIR}/kern-img/; \ + mkfs.jffs2 --root=${WORKDIR}/kern-img/ --eraseblock=0x20000 --pad \ + --no-cleanmarkers --faketime --output=${WORKDIR}/img/em-x270-kernel.jffs2; \ cd ${DEPLOY_DIR_IMAGE}; \ ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \ - mkdir -p ${WORKDIR}/img; \ install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ ${WORKDIR}/img/em-x270-angstrom.jffs2; \ - install -m 0644 ${DEPLOY_DIR_IMAGE}/uImage-em-x270.jffs2 ${WORKDIR}/img/em-x270-kernel.jffs2; \ size=`du -sk ${WORKDIR}/img | cut -f 1` ; ((size *= 120)) ; ((size /= 100)) ; \ genext2fs -d ${WORKDIR}/img -b $size ${DEPLOY_DIR_IMAGE}/updater-em-x270.ext2 \ " |