diff options
author | Martin Dietze <di@fh-wedel.de> | 2006-11-02 13:50:10 +0000 |
---|---|---|
committer | Martin Dietze <di@fh-wedel.de> | 2006-11-02 13:50:10 +0000 |
commit | 9349f11f6676d641d6d7f52a5bdfcab23afb928b (patch) | |
tree | 83d0a090abe267eb3ecbff7a46b7a39c2b76e07c /classes/nylon-image.bbclass | |
parent | 4692aa9f440b992fee19fd7aa35fc0a3e7284e46 (diff) |
nylon update:
- formally added mtx-3 architecture
- pptp support in the linux kernel
Diffstat (limited to 'classes/nylon-image.bbclass')
-rw-r--r-- | classes/nylon-image.bbclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/classes/nylon-image.bbclass b/classes/nylon-image.bbclass index 8517c033e9..e24aa33cf4 100644 --- a/classes/nylon-image.bbclass +++ b/classes/nylon-image.bbclass @@ -1,5 +1,5 @@ # we dont need the kernel in the image -ROOTFS_POSTPROCESS_COMMAND = "rm -f ${IMAGE_ROOTFS}/tmp/zImage*" +ROOTFS_POSTPROCESS_COMMAND = "rm -f ${IMAGE_ROOTFS}/tmp/*Image*" # create a tar.gz (.imgz) file containing the filesystem and the kernel nylon_create_imgz() { @@ -7,8 +7,15 @@ nylon_create_imgz() { rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.imgz install -d ${DEPLOY_DIR_IMAGE}/tmp - cp ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.flash.bin ${DEPLOY_DIR_IMAGE}/tmp/zImage.flash + # copy the kernel (for mips on flash) into tmp + FLASH_BIN=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.flash.bin + test -f ${FLASH_BIN} && \ + cp ${FLASH_BIN} ${DEPLOY_DIR_IMAGE}/tmp/zImage.flash + + # copy rootfs.jffs (or so) into tmp cp ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type} ${DEPLOY_DIR_IMAGE}/tmp/rootfs.${type} + + # make an imgz out of tmp ( cd ${DEPLOY_DIR_IMAGE}/tmp; tar cvzf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.imgz * ) rm -r ${DEPLOY_DIR_IMAGE}/tmp } |