diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-01-26 17:07:15 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-01 22:45:09 +0300 |
commit | 2478d3773170bcabcd342a3daf6d4184ad8cd238 (patch) | |
tree | 4d59e39755498d309f1398a269a6dc8b52c52636 /meta-phosphor/common/recipes-core | |
parent | d8819ed2b4e26342691b48709811035dfa1eaba2 (diff) | |
download | openbmc-2478d3773170bcabcd342a3daf6d4184ad8cd238.tar.xz |
Make chassis start/stop depend on chassis power on/off
Change-Id: I5e4a0da68bfcebb12f3ac4161e63c145f9f73b0a
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
6 files changed, 6 insertions, 6 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-off@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-off@.target index bd4f8c9a3..0ca4aa9ea 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-off@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-off@.target @@ -2,6 +2,6 @@ Description=Power%i (Off) Wants={SYSTEMD_DEFAULT_TARGET} After=obmc-power-stop@%i.target -Conflicts=obmc-chassis-start@%i.target +Conflicts=obmc-power-chassis-on@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-on@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-on@.target index c891173a5..6eefba044 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-on@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-on@.target @@ -2,6 +2,6 @@ Description=Power%i (On) Wants={SYSTEMD_DEFAULT_TARGET} After=obmc-power-start@%i.target -Conflicts=obmc-chassis-stop@%i.target +Conflicts=obmc-power-chassis-off@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target index 2891e79da..2900d16b5 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target @@ -2,6 +2,6 @@ Description=Power%i On (Pre) Wants={SYSTEMD_DEFAULT_TARGET} After={SYSTEMD_DEFAULT_TARGET} -Conflicts=obmc-chassis-stop@%i.target +Conflicts=obmc-power-chassis-off@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start@.target index d23c5e93a..355ab1c56 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-start@.target @@ -2,6 +2,6 @@ Description=Power%i On After=obmc-power-start-pre@%i.target Wants={SYSTEMD_DEFAULT_TARGET} -Conflicts=obmc-chassis-stop@%i.target +Conflicts=obmc-power-chassis-off@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target index db625b33e..d28871b4b 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target @@ -2,6 +2,6 @@ Description=Power%i Off (Pre) Wants={SYSTEMD_DEFAULT_TARGET} After={SYSTEMD_DEFAULT_TARGET} -Conflicts=obmc-chassis-start@%i.target +Conflicts=obmc-power-chassis-on@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target index d7dd12562..7b909d1fe 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target @@ -2,6 +2,6 @@ Description=Power%i Off After=obmc-power-stop-pre@%i.target Wants={SYSTEMD_DEFAULT_TARGET} -Conflicts=obmc-chassis-start@%i.target +Conflicts=obmc-power-chassis-on@%i.target RefuseManualStart=yes RefuseManualStop=yes |