summaryrefslogtreecommitdiff
path: root/packages/zaurus-updater/zaurus-updater.bb
blob: 5e170f1cb00cbe74a47db34848f6ff9d6c5aafab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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