summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/mboxd
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-01-30 13:41:05 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-02-01 19:45:25 +0000
commit821d074359f9259bf8f1b6cf34fc81368f79611a (patch)
tree57acfc781d3508de7e220b35cbb8bedd6c1f7fc0 /meta-phosphor/common/recipes-phosphor/mboxd
parent7497c63ac5f960ffc84724bb146580f150133e4e (diff)
downloadtalos-openbmc-821d074359f9259bf8f1b6cf34fc81368f79611a.tar.gz
talos-openbmc-821d074359f9259bf8f1b6cf34fc81368f79611a.zip
Move MBX reset into new obmc-power-chassis targets
Change-Id: I2ad5a9a9613b4d390496d0bd6c88e9b4aaacfdef Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/mboxd')
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
index e51139616..a9785b820 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
@@ -33,7 +33,7 @@ do_install_append() {
}
TMPL = "mboxd-reload@.service"
-TGTFMT = "obmc-chassis-stop@{0}.target"
+TGTFMT = "obmc-power-chassis-off@{0}.target"
INSTFMT = "mboxd-reload@{0}.service"
FMT = "../${TMPL}:${TGTFMT}.wants/${INSTFMT}"
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
index 10182243a..c8c648457 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service
@@ -2,7 +2,7 @@
Description=Reload mboxd after power off
Wants=op-wait-power-off@%i.service
After=op-wait-power-off@%i.service
-Conflicts=obmc-chassis-start@%i.target
+Conflicts=obmc-power-chassis-on@%i.target
[Service]
Type=oneshot
@@ -10,4 +10,4 @@ RemainAfterExit=yes
ExecStart=/usr/bin/killall -HUP mboxd
[Install]
-WantedBy=obmc-chassis-stop@%i.target
+WantedBy=obmc-power-chassis-off@%i.target
OpenPOWER on IntegriCloud