commit | a283e072444136567507f9478502fdb2d48c2829 | [log] [tgz] |
---|---|---|
author | Josh D. King <jdking@us.ibm.com> | Thu Apr 06 15:56:37 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Apr 20 15:43:45 2017 +0000 |
tree | 8714f60d1f531d3ba808541191627fdf3b6b0bcc | |
parent | b57615e63e0777fd64ff2043624b8b45da68ab2d [diff] |
Refactor action target names Host-start-stop The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Removed CHASSIS_FMT and CHASSIS_LINK_FMT because they are no longer needed. CHASSIS_POWER_FMT_2 did not change because its used for obmc-chassis-reset. Deleted files obmc-chassis-start@.target and obmc-chassis-stop@.target because they are no longer needed. I moved over their contents to obmc-host-start and obmc-host-stop. Updated phosphor-state-manager.bb and skeleton-rev.bbclass to have correct commit id. Change-Id: I26cba4153038f39d60e8d450a05969a216848abe Signed-off-by: Josh D. King <jdking@us.ibm.com>
diff --git a/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service b/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service index f76695e..befc892 100644 --- a/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service +++ b/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service
@@ -15,4 +15,4 @@ ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 1 [Install] -WantedBy=obmc-chassis-start@%i.target +WantedBy=obmc-host-start@%i.target
diff --git a/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service b/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service index 86ddf4a..dd3570e 100644 --- a/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service +++ b/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service
@@ -12,4 +12,4 @@ ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 0 [Install] -WantedBy=obmc-chassis-stop@%i.target +WantedBy=obmc-host-stop@%i.target
diff --git a/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service b/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service index 32ae694..a5efb41 100644 --- a/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service +++ b/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service
@@ -14,4 +14,4 @@ ExecStart=/bin/rm -f /run/openbmc/chassis@%i-on [Install] -WantedBy=obmc-chassis-stop@%i.target +WantedBy=obmc-host-stop@%i.target
diff --git a/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service b/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service index 1c85fc1..cd4f513 100644 --- a/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service +++ b/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service
@@ -15,4 +15,4 @@ TimeoutSec=30 [Install] -WantedBy=obmc-chassis-start@%i.target +WantedBy=obmc-host-start@%i.target