From: Grazvydas Ignotas Date: Wed, 6 Feb 2013 15:32:10 +0000 (+0200) Subject: op_storage: mark as removable X-Git-Tag: sz_154~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa0121c257f7e0032383eaf3b5aa588ec99889d;p=openpandora.oe.git op_storage: mark as removable This allows some Windows image writing tools to work. Thanks to Neelix for the idea. --- diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 2141686..ec97f27 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 = "r128" +PR = "r129" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_storage.sh b/recipes/pandora-system/pandora-scripts/op_storage.sh index ddd8e2c..3994003 100755 --- a/recipes/pandora-system/pandora-scripts/op_storage.sh +++ b/recipes/pandora-system/pandora-scripts/op_storage.sh @@ -25,7 +25,7 @@ if umount $device2; then sleep $delay # switch to mass storage - modprobe g_file_storage file=$device stall=0 + modprobe g_file_storage file=$device 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."