diff options
author | Koen Kooi <koen@openembedded.org> | 2008-01-11 07:31:27 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-01-11 07:31:27 +0000 |
commit | dfbc34973c10aacdacb78950099ba4e105b002ef (patch) | |
tree | c3530e8b070fc2ec9ae814082288b5f1af06caf1 /conf | |
parent | f4f969a659645ac0ad184f1959f9213e0ae8be53 (diff) | |
parent | 71af0a1d87aa6dc219b6b7019e4314d8a07e7bdc (diff) |
merge of '171c5d74e25e7c161bf23648620a923e90cfcc5b'
and 'e52ff8ea262ab9963525b0a0f6ac0f631d53e597'
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/collie-2.6.inc | 25 | ||||
-rw-r--r-- | conf/machine/include/zaurus-2.6.inc | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/conf/machine/include/collie-2.6.inc b/conf/machine/include/collie-2.6.inc index ec2de70326..bc80185fa0 100644 --- a/conf/machine/include/collie-2.6.inc +++ b/conf/machine/include/collie-2.6.inc @@ -6,3 +6,28 @@ MACHINE_FEATURES = "kernel26 apm pcmcia screen irda usbgadget keyboard touchscre MACHINE_EXTRA_RDEPENDS = "kernel-modules" MACHINE_POSTPROCESS_COMMAND = "zaurus_make_installkit" + +zaurus_make_installkit () { + cd ${DEPLOY_DIR_IMAGE} + rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/ + mkdir ${IMAGE_NAME}-installkit/ + # Get the latest kernel using the zImage-<machine>.bin symlink + cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage.bin + if [ "${MACHINE}" = "spitz" ]; then + cp gnu-tar ${IMAGE_NAME}-installkit/ + cp ${IMAGE_NAME}.rootfs.tar.gz ${IMAGE_NAME}-installkit/hdimage1.tgz + else + [ -f ${IMAGE_NAME}.rootfs.jffs2 ] && cp ${IMAGE_NAME}.rootfs.jffs2 ${IMAGE_NAME}-installkit/initrd.bin + fi + + # All zaurus machines except collie need updater.sh + if [ "${MACHINE}" != "collie" ]; then + cp updater.sh.${MACHINE} ${IMAGE_NAME}-installkit/updater.sh + fi + + tar czf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz ${IMAGE_NAME}-installkit/ + md5sum ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz.md5 + rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/ +} + + diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc index eb020dbcba..3f84138ac8 100644 --- a/conf/machine/include/zaurus-2.6.inc +++ b/conf/machine/include/zaurus-2.6.inc @@ -49,7 +49,7 @@ zaurus_make_installkit () { mkdir ${IMAGE_NAME}-installkit/ # Get the latest kernel using the zImage-<machine>.bin symlink - cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage + cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage.bin if [ "${MACHINE}" = "spitz" ]; then cp gnu-tar ${IMAGE_NAME}-installkit/ |