diff options
Diffstat (limited to 'packages/zaurus-updater/zaurus-updater.bb')
-rw-r--r-- | packages/zaurus-updater/zaurus-updater.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/zaurus-updater/zaurus-updater.bb b/packages/zaurus-updater/zaurus-updater.bb index e69de29bb2..5e170f1cb0 100644 --- a/packages/zaurus-updater/zaurus-updater.bb +++ b/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 = "r1" + +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 |