From: Michael Mrozek Date: Fri, 2 Jul 2010 23:35:30 +0000 (+0200) Subject: op_storage: Fixed a stupid bug that prevented the unmount. X-Git-Tag: sz_beta3~235^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b1865c7bfbb6e4fb2c5f5c900f7af71d81b03ec;p=openpandora.oe.git op_storage: Fixed a stupid bug that prevented the unmount. --- diff --git a/recipes/pandora-system/pandora-libpnd.bb b/recipes/pandora-system/pandora-libpnd.bb index 2b16f3e..3592275 100755 --- a/recipes/pandora-system/pandora-libpnd.bb +++ b/recipes/pandora-system/pandora-libpnd.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)" LICENSE = "lGPL" -PR = "r20" +PR = "r21" PARALLEL_MAKE = "" @@ -14,7 +14,7 @@ SRC_URI = " \ file://op_pnd_run.desktop \ " -SRCREV = "0f9a6f09fa46a15f661265c4b643cb7270d59d4c" +SRCREV = "a982cbab3f43e0119e8dd8bfcd6c057dcefb0b35" S = "${WORKDIR}/git" diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 22e97aa..e70dd23 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r30" +PR = "r31" SRC_URI = " \ file://op_bright.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_storage.sh b/recipes/pandora-system/pandora-scripts/op_storage.sh index 910443b..a280f2a 100755 --- a/recipes/pandora-system/pandora-scripts/op_storage.sh +++ b/recipes/pandora-system/pandora-scripts/op_storage.sh @@ -5,7 +5,7 @@ options=$(grep ${selection2} /proc/mounts | awk '{print $4}' | sed "s/,codepage= device=$(grep ${selection2} /proc/mounts | awk '{print substr($1,1,12)}') device2=$(grep ${selection2} /proc/mounts | awk '{print $1}') -if umount $device +if umount $device2 then # switch to mass storage