diff options
Diffstat (limited to 'meta')
-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 c45b9fb6b..a95b0129a 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 \ " |