Merge "mount sdcard only on demand; fix sideload installs" into gingerbread
diff --git a/bootloader.c b/bootloader.c
index 7da3f4e..b690c55 100644
--- a/bootloader.c
+++ b/bootloader.c
@@ -32,7 +32,7 @@
Volume* v = volume_for_path("/misc");
if (strcmp(v->fs_type, "mtd") == 0) {
return get_bootloader_message_mtd(out, v);
- } else if (strcmp(v->fs_type, "block") == 0) {
+ } else if (strcmp(v->fs_type, "emmc") == 0) {
return get_bootloader_message_block(out, v);
}
LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type);
@@ -43,7 +43,7 @@
Volume* v = volume_for_path("/misc");
if (strcmp(v->fs_type, "mtd") == 0) {
return set_bootloader_message_mtd(in, v);
- } else if (strcmp(v->fs_type, "block") == 0) {
+ } else if (strcmp(v->fs_type, "emmc") == 0) {
return set_bootloader_message_block(in, v);
}
LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type);