From: Grazvydas Ignotas Date: Mon, 15 Sep 2014 22:44:16 +0000 (+0300) Subject: op_storage.sh: use partition instead of whole drive X-Git-Tag: sz_172rc~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1430cd03325b80fd23e484dee4eb0859f955879;p=openpandora.oe.git op_storage.sh: use partition instead of whole drive complain to pmprog if this doesn't work: http://boards.openpandora.org/topic/16956-usb-mass-storage-mounting-wrong-partition/ --- diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 6fc98f7..bd0db83 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "bash sed gawk grep zenity" -PR = "r160" +PR = "r161" 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 bd957ce..4203fc9 100755 --- a/recipes/pandora-system/pandora-scripts/op_storage.sh +++ b/recipes/pandora-system/pandora-scripts/op_storage.sh @@ -31,7 +31,7 @@ mountmassstorage() sleep $delay # switch to mass storage - modprobe g_file_storage file=$device stall=0 removable=1 + modprobe g_file_storage file=$device2 stall=0 removable=1 zenity --title="Mass Storage Mode" --info --text="SD Card $selection is currently in Mass Storage Mode.\n\nClick on OK when you're finished with your data transfer\nand want to go back to normal mode."