summaryrefslogtreecommitdiff
path: root/packages/zaurus-updater/zaurus-updater.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zaurus-updater/zaurus-updater.bb')
-rw-r--r--packages/zaurus-updater/zaurus-updater.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/zaurus-updater/zaurus-updater.bb b/packages/zaurus-updater/zaurus-updater.bb
index f98ece35d7..fb4d6e2584 100644
--- a/packages/zaurus-updater/zaurus-updater.bb
+++ b/packages/zaurus-updater/zaurus-updater.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update"
DEPENDS = "encdec-updater-native"
LICENSE = "zaurus-updater"
-PR = "r18"
+PR = "r19"
PACKAGES = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -11,6 +11,10 @@ SRC_URI = "file://updater.sh \
file://gnu-tar.gz"
S = "${WORKDIR}"
+do_configure() {
+ sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh"
+}
+
do_compile() {
encdec-updater -e updater.sh
}