[maemo-commits] [maemo-commits] r18013 - in projects/haf/trunk/ke-recv: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Apr 6 10:23:33 EEST 2009
Author: kihamala
Date: 2009-04-06 10:23:25 +0300 (Mon, 06 Apr 2009)
New Revision: 18013

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/osso-mmc-mount.sh
Log:
support more FAT types


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2009-04-03 18:17:38 UTC (rev 18012)
+++ projects/haf/trunk/ke-recv/debian/changelog	2009-04-06 07:23:25 UTC (rev 18013)
@@ -1,3 +1,10 @@
+ke-recv (3.12-1~unreleased) unstable; urgency=low
+
+  * Added more FAT partition types as supported types to the mount script.
+  * Fixes: NB#109543 - ke-recv regards FAT16 as unsupported format
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Mon,  6 Apr 2009 10:15:20 +0300
+
 ke-recv (3.11-1) unstable; urgency=low
 
   * Fix partitioning script for 3 partitions

Modified: projects/haf/trunk/ke-recv/src/osso-mmc-mount.sh
===================================================================
--- projects/haf/trunk/ke-recv/src/osso-mmc-mount.sh	2009-04-03 18:17:38 UTC (rev 18012)
+++ projects/haf/trunk/ke-recv/src/osso-mmc-mount.sh	2009-04-06 07:23:25 UTC (rev 18013)
@@ -42,8 +42,11 @@
   PNUM=$(echo $PDEV | sed "s#/dev/mmcblk[01]p##")
   DEV=$(echo $PDEV | sed "s#p[1234]##")
   PID=$(sfdisk -c $DEV $PNUM)
-  if [ $PID != b -a $PID != c ]; then
-    logger "$0: $PDEV is not FAT32"
+  if [ $PID = b -o $PID = c -o $PID = e -o $PID = 6 -o $PID = 4 -o \
+       $PID = 14 -o $PID = 16 -o $PID = 1b -o $PID = 1c -o $PID = 1e ]; then
+    logger "$0: $PDEV partition type is '$PID'"
+  else
+    logger "$0: $PDEV type '$PID' is not FAT32 or FAT16"
     exit 1
   fi
 fi


More information about the maemo-commits mailing list