summaryrefslogtreecommitdiff
path: root/openembedded/packages/zaurus-updater/zaurus-updater.bb
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/zaurus-updater/zaurus-updater.bb')
-rw-r--r--openembedded/packages/zaurus-updater/zaurus-updater.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/openembedded/packages/zaurus-updater/zaurus-updater.bb b/openembedded/packages/zaurus-updater/zaurus-updater.bb
new file mode 100644
index 0000000000..c4db1055d5
--- /dev/null
+++ b/openembedded/packages/zaurus-updater/zaurus-updater.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update"
+DEPENDS = "encdec-updater-native"
+LICENSE = "zaurus-updater"
+PR = "r2"
+
+SRC_URI = "file://updater.sh"
+S = "${WORKDIR}"
+
+do_compile() {
+ encdec-updater -e updater.sh
+}
+
+do_deploy() {
+ install -d ${DEPLOY_DIR}/images/
+ install -m 0755 updater.sh ${DEPLOY_DIR}/images/updater.sh.${MACHINE}
+}
+
+addtask deploy before do_build after do_compile