mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 15:23:26 +00:00
28 lines
559 B
BlitzBasic
28 lines
559 B
BlitzBasic
DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update"
|
|
DEPENDS = "encdec-updater-native"
|
|
LICENSE = "zaurus-updater"
|
|
PR = "r2"
|
|
|
|
SRC_URI = "file://updater.sh \
|
|
file://gnu-tar.gz"
|
|
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}
|
|
|
|
case ${MACHINE} in
|
|
spitz | borzoi )
|
|
install -m 0755 gnu-tar ${DEPLOY_DIR}/images/gnu-tar
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
}
|
|
|
|
addtask deploy before do_build after do_compile
|