[oe-commits] Sylvain Paré : initscripts-shr: add a palmpre specific umountfs script
git version control
git at git.openembedded.org
Mon Sep 5 08:38:00 UTC 2011
Module: openembedded.git
Branch: master
Commit: 9add266141c2c6ae9e96b62bb6529c13129d11bb
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=9add266141c2c6ae9e96b62bb6529c13129d11bb
Author: Sylvain Paré <sylvain.pare at gmail.com>
Date: Mon Sep 5 15:42:19 2011 +0000
initscripts-shr: add a palmpre specific umountfs script
* JaMa: fixed line breaks and rebumped PR
Signed-off-by: Sylvain 'GarthPS' Paré <sylvain.pare at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/shr/initscripts-shr/palmpre/umountfs | 14 ++++++++++++++
recipes/shr/initscripts-shr_0.0.1.bb | 2 +-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/recipes/shr/initscripts-shr/palmpre/umountfs b/recipes/shr/initscripts-shr/palmpre/umountfs
new file mode 100644
index 0000000..b526cfc
--- /dev/null
+++ b/recipes/shr/initscripts-shr/palmpre/umountfs
@@ -0,0 +1,14 @@
+#! /bin/sh
+#
+# umountfs Turn off swap and unmount all local filesystems.
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# We leave /proc mounted.
+echo "Unmounting local filesystems..."
+grep -q /mnt/ram /proc/mounts && mount -o remount,ro /mnt/ram
+
+mount -o remount,ro /
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr_0.0.1.bb b/recipes/shr/initscripts-shr_0.0.1.bb
index 1e67617..294eab9 100644
--- a/recipes/shr/initscripts-shr_0.0.1.bb
+++ b/recipes/shr/initscripts-shr_0.0.1.bb
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = "procps ${EXTRA_DEPS}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "0.0.1"
-PR = "r30"
+PR = "r31"
RCONFLICTS_${PN} = "initscripts"
More information about the Openembedded-commits
mailing list