meta-facebook: yosemite4: Add phosphor-pid-control overrides

Revise the start time of phosphor-pid-control, to prevent the swampd
occupy CPU utilization when BMC boot up causing other service may get
timed out using dbus method.

Change-Id: Ib0896b2dc26bd5f30d9a15dedc6375607dee59d6
Signed-off-by: SeanCChaung <sean.chuang.wiwynn@gmail.com>
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/fans/phosphor-pid-control_%.bbappend b/meta-facebook/meta-yosemite4/recipes-phosphor/fans/phosphor-pid-control_%.bbappend
new file mode 100644
index 0000000..283fcf9
--- /dev/null
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/fans/phosphor-pid-control_%.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+FILES:${PN}:append = " ${datadir}/swampd"
+FILES:${PN}:append = " ${systemd_system_unitdir}/phosphor-pid-control.service.d/*.conf"
+
+do_install:append() {
+
+    override_dir="${D}${systemd_system_unitdir}/phosphor-pid-control.service.d"
+    override_file="${override_dir}/yosemite4.conf"
+    mkdir -p ${D}${systemd_system_unitdir}/phosphor-pid-control.service.d
+    echo "[Unit]" > ${override_file}
+    echo "After=" >> ${override_file}
+    echo "After=multi-user.target" >> ${override_file}
+
+}