diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-08-05 13:25:20 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-19 20:06:25 +0100 |
commit | 369920107edd8ae2487d71a324072fcfaba0731e (patch) | |
tree | 14aea71394438111dd1eda29db443ce9784aa314 /meta-extras/packages | |
parent | 29ca8936493b2044c6926becca0ffcf3747b2528 (diff) | |
download | poky-369920107edd8ae2487d71a324072fcfaba0731e.tar.gz |
deploy.bbclass: use new style staging for deploy tasks
All tasks which implement a do_deploy should inherit this class to have the
changes in the deploy task staged.
Update recipes which include a do_deploy function to inherit this class and
to use DEPLOYDIR rather than DEPLOY_DIR_IMAGE.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta-extras/packages')
-rw-r--r-- | meta-extras/packages/linux/linux-nokia800.inc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/meta-extras/packages/linux/linux-nokia800.inc b/meta-extras/packages/linux/linux-nokia800.inc index a9505fab5d..540dfbb4c2 100644 --- a/meta-extras/packages/linux/linux-nokia800.inc +++ b/meta-extras/packages/linux/linux-nokia800.inc | |||
@@ -5,7 +5,7 @@ LICENSE = "GPL" | |||
5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" | 5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" |
6 | KERNEL_CCSUFFIX = "-3.4.4+csl-arm-2005q3-2" | 6 | KERNEL_CCSUFFIX = "-3.4.4+csl-arm-2005q3-2" |
7 | 7 | ||
8 | inherit kernel | 8 | inherit kernel deploy |
9 | 9 | ||
10 | RPROVIDES_kernel-image = "hostap-modules" | 10 | RPROVIDES_kernel-image = "hostap-modules" |
11 | 11 | ||
@@ -34,13 +34,10 @@ do_configure_prepend() { | |||
34 | } | 34 | } |
35 | 35 | ||
36 | do_deploy() { | 36 | do_deploy() { |
37 | install -d ${DEPLOY_DIR_IMAGE} | 37 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin |
38 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | 38 | cd ${DEPLOYDIR} |
39 | cd ${DEPLOY_DIR_IMAGE} | ||
40 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin | 39 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin |
41 | tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib | 40 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib |
42 | } | 41 | } |
43 | 42 | ||
44 | do_deploy[dirs] = "${S}" | ||
45 | |||
46 | addtask deploy before do_populate_sysroot after do_install | 43 | addtask deploy before do_populate_sysroot after do_install |