meta-facebook: add emmc-init package

Add a service and script for detecting the state of the eMMC
device and formatting it if needed.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I4618d1691dedcff582772a0749c5797ad052f238
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-facebook/recipes-fb/emmc-init/files/emmc-init.service b/meta-facebook/recipes-fb/emmc-init/files/emmc-init.service
new file mode 100644
index 0000000..1a5ddcf
--- /dev/null
+++ b/meta-facebook/recipes-fb/emmc-init/files/emmc-init.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=eMMC initialize check
+Before=mnt-data.mount
+
+[Service]
+ExecStart=/usr/libexec/emmc-init/emmc-init
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target