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/packages/zaurus-updater | |
| 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/packages/zaurus-updater')
| -rw-r--r-- | meta/packages/zaurus-updater/zaurus-updater.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/packages/zaurus-updater/zaurus-updater.bb b/meta/packages/zaurus-updater/zaurus-updater.bb index 4ab6fc43c4..a621761d66 100644 --- a/meta/packages/zaurus-updater/zaurus-updater.bb +++ b/meta/packages/zaurus-updater/zaurus-updater.bb | |||
| @@ -11,6 +11,8 @@ SRC_URI = "file://updater.sh \ | |||
| 11 | file://gnu-tar.gz" | 11 | file://gnu-tar.gz" |
| 12 | S = "${WORKDIR}" | 12 | S = "${WORKDIR}" |
| 13 | 13 | ||
| 14 | inherit deploy | ||
| 15 | |||
| 14 | do_configure() { | 16 | do_configure() { |
| 15 | sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh" | 17 | sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh" |
| 16 | } | 18 | } |
| @@ -20,12 +22,11 @@ do_compile() { | |||
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | do_deploy() { | 24 | do_deploy() { |
| 23 | install -d ${DEPLOY_DIR_IMAGE} | 25 | install -m 0755 updater.sh ${DEPLOYDIR}/updater.sh.${MACHINE} |
| 24 | install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE} | ||
| 25 | 26 | ||
| 26 | case ${MACHINE} in | 27 | case ${MACHINE} in |
| 27 | spitz ) | 28 | spitz ) |
| 28 | install -m 0755 gnu-tar ${DEPLOY_DIR_IMAGE}/gnu-tar | 29 | install -m 0755 gnu-tar ${DEPLOYDIR}/gnu-tar |
| 29 | ;; | 30 | ;; |
| 30 | *) | 31 | *) |
| 31 | ;; | 32 | ;; |
