meta-openpower: Adding proc-pre-poweroff service

Changes:
-Adding support for new service
i.e. proc-pre-poweroff@.service, which will be called
during poweroff.

Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Change-Id: Ieb74fd49481c642f83b723f5303deabbbae4fc9c
diff --git a/recipes-phosphor/host/op-proc-control-systemd-links.bb b/recipes-phosphor/host/op-proc-control-systemd-links.bb
index 521ff02..26e42e2 100644
--- a/recipes-phosphor/host/op-proc-control-systemd-links.bb
+++ b/recipes-phosphor/host/op-proc-control-systemd-links.bb
@@ -52,6 +52,10 @@
 		LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/phal-reinit-devtree.service"
 		TARGET="../phal-reinit-devtree.service"
 		ln -s $TARGET $LINK
+
+		LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.requires/proc-pre-poweroff@0.service"
+		TARGET="../proc-pre-poweroff@.service"
+		ln -s $TARGET $LINK
 	fi
 }
 
@@ -76,5 +80,8 @@
 	if [ "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}" = phal ]; then
 		LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/phal-reinit-devtree.service"
 		rm $LINK
+
+		LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.requires/proc-pre-poweroff@0.service"
+		rm $LINK
 	fi
 }