From 26ab4749e518825602e9d5cdab1452d5a8cae6ff Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Apr 2007 13:42:14 +0000 Subject: linux-nokia800: Improve do_deploy git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1514 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/linux/linux-nokia800.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta/packages/linux/linux-nokia800.inc b/meta/packages/linux/linux-nokia800.inc index 48a88320e2..d5973e0cdb 100644 --- a/meta/packages/linux/linux-nokia800.inc +++ b/meta/packages/linux/linux-nokia800.inc @@ -31,10 +31,13 @@ do_configure_prepend() { } do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin + rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin + ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin + tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib } do_deploy[dirs] = "${S}" -addtask deploy before do_build after do_compile +addtask deploy before do_build after do_install -- cgit v1.2.3-54-g00ecf