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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 18 14:41:18 EET 2009
Author: kihamala
Date: 2009-03-18 14:41:02 +0200 (Wed, 18 Mar 2009)
New Revision: 17727

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/fremantle-format-internal-memory-card.sh
Log:
fixes to the script


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2009-03-18 11:11:55 UTC (rev 17726)
+++ projects/haf/trunk/ke-recv/debian/changelog	2009-03-18 12:41:02 UTC (rev 17727)
@@ -1,3 +1,9 @@
+ke-recv (3.11-1~unreleased) unstable; urgency=low
+
+  * fix partitioning script for 3 partitions
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Wed, 18 Mar 2009 14:33:36 +0200
+
 ke-recv (3.10-1) unstable; urgency=low
 
   * Added dialog about read-only mounting.

Modified: projects/haf/trunk/ke-recv/src/fremantle-format-internal-memory-card.sh
===================================================================
--- projects/haf/trunk/ke-recv/src/fremantle-format-internal-memory-card.sh	2009-03-18 11:11:55 UTC (rev 17726)
+++ projects/haf/trunk/ke-recv/src/fremantle-format-internal-memory-card.sh	2009-03-18 12:41:02 UTC (rev 17727)
@@ -1,9 +1,9 @@
 #!/bin/sh
 # This file is part of ke-recv
 #
-# Copyright (C) 2008 Nokia Corporation. All rights reserved.
+# Copyright (C) 2008-2009 Nokia Corporation. All rights reserved.
 #
-# Contact: Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>
+# Author: Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License 
@@ -20,7 +20,7 @@
 # 02110-1301 USA
 
 if [ "x$1" != "x/dev/mmcblk1" -a "x$1" != "x/dev/mmcblk0" ]; then
-  echo "Usage: $0 <device name of internal memory card>"
+  echo "Usage: $0 <device name of internal memory card without 'pN' suffix>"
   exit 1
 fi
 
@@ -33,12 +33,13 @@
 
 sfdisk -D -uM $1 << EOF
 ,768,S
-,4,L
 ,2048,L
 ,,b
 EOF
 
-mkdosfs -F 32 -R 38 ${1}p4
+mkswap ${1}p1
+mkfs.ext3 ${1}p2
+mkdosfs -F 32 -R 38 ${1}p3
 
 sync
 


More information about the maemo-commits mailing list