am 2dfe490f: system: vold: Ensure a default vold.conf exists for generic target

Merge commit '2dfe490f439e126119055e1888703cc3745f5389' into eclair-plus-aosp

* commit '2dfe490f439e126119055e1888703cc3745f5389':
  system: vold: Ensure a default vold.conf exists for generic target
This commit is contained in:
San Mehat 2009-08-31 08:12:43 -07:00 committed by Android Git Automerger
commit c9050c59ea
2 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,10 @@ copy_from := \
etc/init.goldfish.sh \
etc/hosts
ifeq ($(TARGET_PRODUCT),generic)
copy_from := etc/vold.conf
endif
copy_to := $(addprefix $(TARGET_OUT)/,$(copy_from))
copy_from := $(addprefix $(LOCAL_PATH)/,$(copy_from))

10
rootdir/etc/vold.conf Normal file
View File

@ -0,0 +1,10 @@
## vold configuration file for the 'generic' target
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /sdcard
ums_path /devices/platform/usb_mass_storage/lun0
}