From 2fa0121c257f7e0032383eaf3b5aa588ec99889d Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Wed, 6 Feb 2013 17:32:10 +0200 Subject: [PATCH] op_storage: mark as removable This allows some Windows image writing tools to work. Thanks to Neelix for the idea. --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_storage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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." -- 2.39.2