op_storage: Fixed a stupid bug that prevented the unmount.
authorMichael Mrozek <EvilDragon@openpandora.de>
Fri, 2 Jul 2010 23:35:30 +0000 (01:35 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Fri, 2 Jul 2010 23:35:30 +0000 (01:35 +0200)
recipes/pandora-system/pandora-libpnd.bb
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_storage.sh

index 2b16f3e..3592275 100755 (executable)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)"
 LICENSE = "lGPL"
 
 DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)"
 LICENSE = "lGPL"
 
-PR = "r20"
+PR = "r21"
 
 PARALLEL_MAKE = ""
 
 
 PARALLEL_MAKE = ""
 
@@ -14,7 +14,7 @@ SRC_URI = " \
           file://op_pnd_run.desktop \
 "
 
           file://op_pnd_run.desktop \
 "
 
-SRCREV = "0f9a6f09fa46a15f661265c4b643cb7270d59d4c"
+SRCREV = "a982cbab3f43e0119e8dd8bfcd6c057dcefb0b35"
 
 S = "${WORKDIR}/git"
 
 
 S = "${WORKDIR}/git"
 
index 22e97aa..e70dd23 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r30"
+PR = "r31"
 
 SRC_URI = " \
           file://op_bright.sh \
 
 SRC_URI = " \
           file://op_bright.sh \
index 910443b..a280f2a 100755 (executable)
@@ -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}')
 
 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
  
   then
     # switch to mass storage