From 6b1865c7bfbb6e4fb2c5f5c900f7af71d81b03ec Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Sat, 3 Jul 2010 01:35:30 +0200 Subject: [PATCH] op_storage: Fixed a stupid bug that prevented the unmount. --- recipes/pandora-system/pandora-libpnd.bb | 4 ++-- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_storage.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5