diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-20 11:39:26 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-20 11:39:26 +0000 |
commit | e8efeb30d1b39458a6778c3d0f6b32dbee8ad0b7 (patch) | |
tree | 3749c08d2989c37506807f076d7180c95add2c07 /meta/classes/kernel.bbclass | |
parent | fece08fee155ed2fcb3ebc642f67146bfc48c797 (diff) | |
download | openembedded-core-e8efeb30d1b39458a6778c3d0f6b32dbee8ad0b7.tar.gz openembedded-core-e8efeb30d1b39458a6778c3d0f6b32dbee8ad0b7.tar.bz2 openembedded-core-e8efeb30d1b39458a6778c3d0f6b32dbee8ad0b7.zip |
kernel.bbclass: Add staging hooks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4100 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 99680ceabd..67dff3f7e6 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -426,6 +426,7 @@ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}" do_deploy() { install -d ${DEPLOY_DIR_IMAGE} install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then @@ -440,11 +441,13 @@ do_deploy() { uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin rm -f linux.bin.gz fi + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin fi cd ${DEPLOY_DIR_IMAGE} rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_SYMLINK_NAME}.bin } do_deploy[dirs] = "${S}" |