[maemo-commits] [maemo-commits] r16806 - in projects/haf/trunk/ke-recv: debian src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Nov 28 18:16:34 EET 2008
- Previous message: [maemo-commits] r16805 - projects/haf/trunk/ke-recv/debian
- Next message: [maemo-commits] r16807 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala
Date: 2008-11-28 18:16:33 +0200 (Fri, 28 Nov 2008)
New Revision: 16806
Added:
projects/haf/trunk/ke-recv/src/fremantle-partition-internal-memory-card.sh
Modified:
projects/haf/trunk/ke-recv/debian/changelog
Log:
added an utility
Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog 2008-11-28 15:40:04 UTC (rev 16805)
+++ projects/haf/trunk/ke-recv/debian/changelog 2008-11-28 16:16:33 UTC (rev 16806)
@@ -5,6 +5,7 @@
the new S_PERIPHERAL_WAIT state.
* g_nokia is now the default kernel module.
* Add dosfstools dependency.
+ * Added a shell script for partitioning the internal memory card.
-- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Fri, 28 Nov 2008 14:32:03 +0200
Added: projects/haf/trunk/ke-recv/src/fremantle-partition-internal-memory-card.sh
===================================================================
--- projects/haf/trunk/ke-recv/src/fremantle-partition-internal-memory-card.sh 2008-11-28 15:40:04 UTC (rev 16805)
+++ projects/haf/trunk/ke-recv/src/fremantle-partition-internal-memory-card.sh 2008-11-28 16:16:33 UTC (rev 16806)
@@ -0,0 +1,33 @@
+#!/bin/sh
+# This file is part of ke-recv
+#
+# Copyright (C) 2008 Nokia Corporation. All rights reserved.
+#
+# Contact: 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
+# version 2 as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+# 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>"
+ exit 1
+fi
+
+sfdisk -D -uM $1 << EOF
+,512,S
+,2048,L
+,,b
+EOF
+
+echo "$0: done."
Property changes on: projects/haf/trunk/ke-recv/src/fremantle-partition-internal-memory-card.sh
___________________________________________________________________
Name: svn:executable
+ *
- Previous message: [maemo-commits] r16805 - projects/haf/trunk/ke-recv/debian
- Next message: [maemo-commits] r16807 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
