[oe-commits] org.oe.dev zaurus-updater: fix flashing from case sensitive filesystems

koen commit openembedded-commits at lists.openembedded.org
Fri Nov 23 19:47:55 UTC 2007


zaurus-updater: fix flashing from case sensitive filesystems

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 6ac18f3dcd3bdc55e3c6e2b808ce11f25dbd163e
ViewMTN: http://monotone.openembedded.org/revision/info/6ac18f3dcd3bdc55e3c6e2b808ce11f25dbd163e
Files:
1
packages/zaurus-updater/zaurus-updater/updater.sh
packages/zaurus-updater/zaurus-updater.bb
Diffs:

#
# mt diff -ra4c0d8d29b3192af81f548c5ba679a145e116fb4 -r6ac18f3dcd3bdc55e3c6e2b808ce11f25dbd163e
#
# 
# 
# patch "packages/zaurus-updater/zaurus-updater/updater.sh"
#  from [9a97affc5b2efee46657bc581290041aac3bab38]
#    to [47d7d925c304b036c45562a752ae139b744f7c6a]
# 
# patch "packages/zaurus-updater/zaurus-updater.bb"
#  from [11c4539830f684b4da49831b50d6afd4032b4413]
#    to [7a273ae9f26d4da3830acc3f36b0dd21a6432e48]
# 
============================================================
--- packages/zaurus-updater/zaurus-updater/updater.sh	9a97affc5b2efee46657bc581290041aac3bab38
+++ packages/zaurus-updater/zaurus-updater/updater.sh	47d7d925c304b036c45562a752ae139b744f7c6a
@@ -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 ]
============================================================
--- packages/zaurus-updater/zaurus-updater.bb	11c4539830f684b4da49831b50d6afd4032b4413
+++ packages/zaurus-updater/zaurus-updater.bb	7a273ae9f26d4da3830acc3f36b0dd21a6432e48
@@ -1,7 +1,7 @@ LICENSE = "zaurus-updater"
 DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update"
 DEPENDS = "encdec-updater-native"
 LICENSE = "zaurus-updater"
-PR = "r12"
+PR = "r13"
 
 PACKAGES = ""
 PACKAGE_ARCH = "${MACHINE_ARCH}"






More information about the Openembedded-commits mailing list