diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/zaurus-updater/zaurus-updater.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/zaurus-updater/zaurus-updater.bb')
-rw-r--r-- | meta/packages/zaurus-updater/zaurus-updater.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/zaurus-updater/zaurus-updater.bb b/meta/packages/zaurus-updater/zaurus-updater.bb new file mode 100644 index 0000000000..26cf1e5453 --- /dev/null +++ b/meta/packages/zaurus-updater/zaurus-updater.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update" | ||
2 | DEPENDS = "encdec-updater-native" | ||
3 | LICENSE = "zaurus-updater" | ||
4 | PR = "r5" | ||
5 | |||
6 | PACKAGES = "" | ||
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
8 | COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)' | ||
9 | |||
10 | SRC_URI = "file://updater.sh \ | ||
11 | file://gnu-tar.gz" | ||
12 | S = "${WORKDIR}" | ||
13 | |||
14 | do_compile() { | ||
15 | encdec-updater -e updater.sh | ||
16 | } | ||
17 | |||
18 | do_deploy() { | ||
19 | install -d ${DEPLOY_DIR_IMAGE} | ||
20 | install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE} | ||
21 | |||
22 | case ${MACHINE} in | ||
23 | spitz ) | ||
24 | install -m 0755 gnu-tar ${DEPLOY_DIR_IMAGE}/gnu-tar | ||
25 | ;; | ||
26 | *) | ||
27 | ;; | ||
28 | esac | ||
29 | } | ||
30 | |||
31 | addtask deploy before do_build after do_compile | ||