Make soft-off service to be a soft dependency for host targets

In the current state soft-off service is a hard dependency
(requires) for the host shut down target, so in any case where
the soft-off service fails with an error condition, the shutdown
target fails too.

This commit intends to make soft-off service as a soft dependency(wants)
so that the shutdown target can still proceed even though the
pldmsoftoff service fails for whatever reason.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I5650702c6eb71adab10fdb6493c9d582a9cb0129
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
index bcf1bed..4c9cbc9 100644
--- a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
@@ -28,22 +28,22 @@
 # Install pldmSoftPowerOff.service in correct targets
 pkg_postinst:${PN} () {
 
-    mkdir -p $D$systemd_system_unitdir/obmc-host-shutdown@0.target.requires
-    LINK="$D$systemd_system_unitdir/obmc-host-shutdown@0.target.requires/pldmSoftPowerOff.service"
+    mkdir -p $D$systemd_system_unitdir/obmc-host-shutdown@0.target.wants
+    LINK="$D$systemd_system_unitdir/obmc-host-shutdown@0.target.wants/pldmSoftPowerOff.service"
     TARGET="../pldmSoftPowerOff.service"
     ln -s $TARGET $LINK
 
-    mkdir -p $D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires
-    LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/pldmSoftPowerOff.service"
+    mkdir -p $D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.wants
+    LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.wants/pldmSoftPowerOff.service"
     TARGET="../pldmSoftPowerOff.service"
     ln -s $TARGET $LINK
 }
 
 pkg_prerm:${PN} () {
 
-    LINK="$D$systemd_system_unitdir/obmc-host-shutdown@0.target.requires/pldmSoftPowerOff.service"
+    LINK="$D$systemd_system_unitdir/obmc-host-shutdown@0.target.wants/pldmSoftPowerOff.service"
     rm $LINK
 
-    LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/pldmSoftPowerOff.service"
+    LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.wants/pldmSoftPowerOff.service"
     rm $LINK
 }