Get SD Card Working
The virtual SD card was not setup, because the "on nonencrypted" trigger
that launches the "late_start" action class was not being called. The
sdcard service is part of the late_start action class.
A mount_all command is necessary to trigger it which requires a fstab.mako
file. Create fstab.mako with one entry for /system in it, so that
nonencrypted trigger is fired. This converted entry is probably missing
some options in the conversion like e2fsck. The rest of the mount commands
from init.mako.rc need to be converted as well.
Change-Id: Ifdf489a4edb323ce05ca8b2df18892cfcf72043c
diff --git a/fstab.mako b/fstab.mako
new file mode 100644
index 0000000..015651e
--- /dev/null
+++ b/fstab.mako
@@ -0,0 +1,7 @@
+# Android fstab file.
+#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
+# The filesystem that contains the filesystem checker binary (typically /system) cannot
+# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
+
+/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
+