summaryrefslogtreecommitdiff
path: root/meta/packages/zaurus-updater/zaurus-updater.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/zaurus-updater/zaurus-updater.bb')
-rw-r--r--meta/packages/zaurus-updater/zaurus-updater.bb7
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 \
file://gnu-tar.gz"
S = "${WORKDIR}"
+inherit deploy
+
do_configure() {
sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh"
}
@@ -20,12 +22,11 @@ do_compile() {
}
do_deploy() {
- install -d ${DEPLOY_DIR_IMAGE}
- install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE}
+ install -m 0755 updater.sh ${DEPLOYDIR}/updater.sh.${MACHINE}
case ${MACHINE} in
spitz )
- install -m 0755 gnu-tar ${DEPLOY_DIR_IMAGE}/gnu-tar
+ install -m 0755 gnu-tar ${DEPLOYDIR}/gnu-tar
;;
*)
;;