diff options
| author | San Mehat <san@google.com> | 2009-08-31 08:04:49 -0700 |
|---|---|---|
| committer | San Mehat <san@google.com> | 2009-08-31 08:05:49 -0700 |
| commit | 2dfe490f439e126119055e1888703cc3745f5389 (patch) | |
| tree | 79e4c04a326566956dc491a0b8d47bbb23cd979c | |
| parent | d42ab257604f5fd9e039c843ede477da29f6f3cf (diff) | |
| download | system_core-2dfe490f439e126119055e1888703cc3745f5389.zip system_core-2dfe490f439e126119055e1888703cc3745f5389.tar.gz system_core-2dfe490f439e126119055e1888703cc3745f5389.tar.bz2 | |
system: vold: Ensure a default vold.conf exists for generic target
Signed-off-by: San Mehat <san@google.com>
| -rw-r--r-- | rootdir/Android.mk | 4 | ||||
| -rw-r--r-- | rootdir/etc/vold.conf | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk index db98fab..779f2a9 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -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)) diff --git a/rootdir/etc/vold.conf b/rootdir/etc/vold.conf new file mode 100644 index 0000000..4e04509 --- /dev/null +++ b/rootdir/etc/vold.conf @@ -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 +} |
