From 2f137021c5ac4edeb9e03ad75445132f915f5842 Mon Sep 17 00:00:00 2001
From: Pawit Pornkitprasan
Date: Tue, 26 Feb 2013 13:18:14 +0700
Subject: aries-common: fix lun mounting in recovery
without specifying the lun file, the recovery will get confused when
there is no sdcard inserted
Change-Id: Id66c029734671ff1cfb3dedd1e9e3946216e2a8c
---
BoardConfigCommon.mk | 1 -
recovery.fstab | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 5c80381..b2c9f24 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -37,7 +37,6 @@ TARGET_BOARD_PLATFORM := s5pc110
TARGET_BOOTLOADER_BOARD_NAME := aries
BOARD_MOBILEDATA_INTERFACE_NAME = "pdp0"
-BOARD_UMS_LUNFILE := /sys/class/android_usb/android0/f_mass_storage/lun/file
# Kernel Source
TARGET_KERNEL_SOURCE := kernel/samsung/aries
diff --git a/recovery.fstab b/recovery.fstab
index ff7e530..911ca98 100644
--- a/recovery.fstab
+++ b/recovery.fstab
@@ -8,7 +8,7 @@
/cache yaffs2 cache
/datadata yaffs2 datadata
-/sdcard vfat /dev/block/mmcblk0p1
+/sdcard vfat /dev/block/mmcblk0p1 lun=/sys/devices/platform/s3c-usbgadget/gadget/lun0/file
/system ext4 /dev/lvpool/system
-/external_sd vfat /dev/block/mmcblk1p1
+/external_sd vfat /dev/block/mmcblk1p1 lun=/sys/devices/platform/s3c-usbgadget/gadget/lun1/file
--
cgit v1.1