summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-06 19:39:23 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-06 19:39:23 +0000
commit611ba5d66a11ded11b6b263cda7affd2f5e2162f (patch)
tree48ee5ef66aed956922e6082e57821bb5ff3be113 /meta/conf
parentd34b2f60a1303888b2d99a6f284d54e7f522b665 (diff)
downloadpoky-611ba5d66a11ded11b6b263cda7affd2f5e2162f.tar.gz
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')
-rw-r--r--meta/conf/machine/em-x270.conf7
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 = " \
26 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ 26 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
27 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ 27 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
28 -e 0x20000 -p; \ 28 -e 0x20000 -p; \
29 mkdir -p ${WORKDIR}/img; \
30 mkdir -p ${WORKDIR}/kern-img/; \
31 install -m 0644 `readlink -f ${DEPLOY_DIR_IMAGE}/uImage-em-x270.bin` ${WORKDIR}/kern-img/; \
32 mkfs.jffs2 --root=${WORKDIR}/kern-img/ --eraseblock=0x20000 --pad \
33 --no-cleanmarkers --faketime --output=${WORKDIR}/img/em-x270-kernel.jffs2; \
29 cd ${DEPLOY_DIR_IMAGE}; \ 34 cd ${DEPLOY_DIR_IMAGE}; \
30 ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \ 35 ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \
31 mkdir -p ${WORKDIR}/img; \
32 install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ 36 install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
33 ${WORKDIR}/img/em-x270-angstrom.jffs2; \ 37 ${WORKDIR}/img/em-x270-angstrom.jffs2; \
34 install -m 0644 ${DEPLOY_DIR_IMAGE}/uImage-em-x270.jffs2 ${WORKDIR}/img/em-x270-kernel.jffs2; \
35 size=`du -sk ${WORKDIR}/img | cut -f 1` ; ((size *= 120)) ; ((size /= 100)) ; \ 38 size=`du -sk ${WORKDIR}/img | cut -f 1` ; ((size *= 120)) ; ((size /= 100)) ; \
36 genext2fs -d ${WORKDIR}/img -b $size ${DEPLOY_DIR_IMAGE}/updater-em-x270.ext2 \ 39 genext2fs -d ${WORKDIR}/img -b $size ${DEPLOY_DIR_IMAGE}/updater-em-x270.ext2 \
37" 40"