summaryrefslogtreecommitdiff
path: root/packages/zaurus-updater
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-11-23 19:41:32 +0000
committerKoen Kooi <koen@openembedded.org>2007-11-23 19:41:32 +0000
commit8da89d4d3ff45c21c061d3b351dcdb2a5c7842a8 (patch)
tree9ff857276f9a9f6f3a749132b8c660b5047bcea7 /packages/zaurus-updater
parent21ec9f3a78bc85de4d1747159ade2e6bd8752951 (diff)
zaurus-updater: fix flashing from case sensitive filesystems
Diffstat (limited to 'packages/zaurus-updater')
-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 ]