summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/zaurus-updater/zaurus-updater.bb2
-rw-r--r--packages/zaurus-updater/zaurus-updater/updater.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/packages/zaurus-updater/zaurus-updater.bb b/packages/zaurus-updater/zaurus-updater.bb
index 8aa86b645a..ee4c85e646 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 = "r12"
+PR = "r13"
PACKAGES = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/packages/zaurus-updater/zaurus-updater/updater.sh b/packages/zaurus-updater/zaurus-updater/updater.sh
index c665977f0d..8f686ded7a 100644
--- a/packages/zaurus-updater/zaurus-updater/updater.sh
+++ b/packages/zaurus-updater/zaurus-updater/updater.sh
@@ -22,6 +22,7 @@
#
# 2007.11.23 Koen Kooi
# - consistent error messages
+# - fix flashing from case sensitive filesystem (e.g. ext2)
DATAPATH=$1
TMPPATH=/tmp/update
@@ -293,9 +294,9 @@ do
DATASIZE=`echo $DATASIZE | cut -d' ' -f1`
# make TARGETFILE lowercase
- TARGETFILE=`echo $TARGETFILE|tr A-Z a-z`
+ TARGETFILE_LC=`echo $TARGETFILE|tr A-Z a-z`
- case "$TARGETFILE" in
+ case "$TARGETFILE_LC" in
zimage|zimage.bin)
if [ $FLASHED_KERNEL != 0 ]