diff options
author | Josh D. King <jdking@us.ibm.com> | 2017-04-06 14:43:46 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-20 15:43:44 +0000 |
commit | b9ee536d0aae31718054ddad187a93d761d9dea2 (patch) | |
tree | 95bd59def58214239025ac679138dfb9f82fc22c | |
parent | 360a31bed22a78cf09ed2df7f54dac7a700beacd (diff) | |
download | talos-openbmc-b9ee536d0aae31718054ddad187a93d761d9dea2.tar.gz talos-openbmc-b9ee536d0aae31718054ddad187a93d761d9dea2.zip |
Refactor action target names Power-on-off
The target change is:
obmc-power-chassis-on -> obmc-chassis-poweron
obmc-power-chassis-off -> obmc-chassis-poweroff
Also updated phosphor-state-manager.bb to now
have correct commit id.
Change-Id: I15aae803e5f0d44d4e6a137278f93e91f848b2c0
Signed-off-by: Josh D. King <jdking@us.ibm.com>
57 files changed, 85 insertions, 85 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb index 37a326fd0..26cab2c07 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb @@ -5,7 +5,7 @@ PR = "r1" inherit obmc-phosphor-systemd inherit obmc-phosphor-license -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" TMPL_SCAN = "fsi-scan@.service" INSTFMT_SCAN = "fsi-scan@{0}.service" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-bind@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-bind@.service index 77c61f414..82399aee0 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-bind@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-bind@.service @@ -6,7 +6,7 @@ Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target Wants=fsi-scan@%i.service Before=fsi-scan@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionDirectoryNotEmpty=!/sys/bus/platform/drivers/fsi-master-gpio/fsi-master [Service] @@ -15,4 +15,4 @@ Type=oneshot RemainAfterExit=yes [Install] -RequiredBy=obmc-power-chassis-on@%i.target +RequiredBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-scan@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-scan@.service index 8f94e28ab..4321422fd 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-scan@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-scan@.service @@ -4,7 +4,7 @@ Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target [Service] ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan" @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -RequiredBy=obmc-power-chassis-on@%i.target +RequiredBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service index c6ee4665d..8b989bb14 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service @@ -6,7 +6,7 @@ Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target Wants=fsi-scan@%i.service After=fsi-scan@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on ConditionFileExists=/var/lib/obmc/cfam_overrides @@ -16,4 +16,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service index 8d3e26c8e..0819d970c 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service @@ -6,7 +6,7 @@ Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target Wants=fsi-scan@%i.service After=fsi-scan@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -15,4 +15,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-cfam-override.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-cfam-override.bb index b059ff4dd..4f6a9c653 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-cfam-override.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-cfam-override.bb @@ -12,7 +12,7 @@ S = "${WORKDIR}" TMPL = "cfam_override@.service" INSTFMT = "cfam_override@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" SYSTEMD_SERVICE_${PN} += "${TMPL}" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb index 53b84a639..11ad79cb1 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb @@ -12,7 +12,7 @@ S = "${WORKDIR}" TMPL = "vcs_workaround@.service" INSTFMT = "vcs_workaround@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" SYSTEMD_SERVICE_${PN} += "${TMPL}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control.bb index 3c3be27c7..e014da2e6 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control.bb @@ -27,7 +27,7 @@ TMPL_WA= "avsbus-workaround@.service" INSTFMT_EN= "avsbus-enable@{0}.service" INSTFMT_DIS= "avsbus-disable@{0}.service" INSTFMT_WA= "avsbus-workaround@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT_EN = "../${TMPL_EN}:${TGTFMT}.requires/${INSTFMT_EN}" FMT_DIS = "../${TMPL_DIS}:${TGTFMT}.requires/${INSTFMT_DIS}" FMT_WA = "../${TMPL_WA}:${TGTFMT}.requires/${INSTFMT_WA}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service index 4d300c5a1..ca9256206 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service @@ -3,7 +3,7 @@ Description=Disable the AVS bus on the VRMs Wants=avsbus-workaround@%i.service After=avsbus-workaround@%i.service Before=vrm-control@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service index 34e68fe32..60297d944 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service @@ -2,7 +2,7 @@ Description=Enable the AVS bus on VRMs Wants=vrm-control@%i.service After=vrm-control@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -11,4 +11,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service index 1bae8df0b..5c2813afc 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service @@ -3,7 +3,7 @@ Description=Perform AVS bus workaround on VRMs Wants=op-power-start@.service After=op-power-start@.service Before=avsbus-disable@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb index 129390dea..6236116c2 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb @@ -24,8 +24,8 @@ TMPL = "cpld_trigger@.service" TMPL_RESET = "cpld_reset@.service" INSTFMT = "cpld_trigger@{0}.service" INSTFMT_RESET = "cpld_reset@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" -TGTFMT_RESET = "obmc-power-chassis-off@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" +TGTFMT_RESET = "obmc-chassis-poweroff@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" FMT_RESET = "../${TMPL_RESET}:${TGTFMT_RESET}.requires/${INSTFMT_RESET}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_reset@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_reset@.service index d1b8553cc..e312a96a9 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_reset@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_reset@.service @@ -2,7 +2,7 @@ Description=Reset CPLD to wait after VDD is powered up Wants=op-wait-power-off@%i.service After=op-wait-power-off@%i.service -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target [Service] ExecStart={bindir}/cpld_reset.sh @@ -10,4 +10,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-off@%i.target +WantedBy=obmc-chassis-poweroff@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_trigger@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_trigger@.service index 68c8ed987..57c5a8ffd 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_trigger@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger/cpld_trigger@.service @@ -4,7 +4,7 @@ Wants=vcs_workaround@%i.service Before=vcs_workaround@%i.service Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target [Service] ExecStart={bindir}/cpld_trigger.sh @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control.bb index 73c828224..e23bdd077 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control.bb @@ -19,7 +19,7 @@ do_install() { TMPL = "vrm-control@.service" INSTFMT = "vrm-control@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" SYSTEMD_SERVICE_${PN} += "${TMPL}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service index 0b772f2d9..d5bdddb49 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service @@ -3,7 +3,7 @@ Description=Apply voltage overrides to VRMs Wants=avsbus-disable@%i.service After=avsbus-disable@%i.service Before=avsbus-enable@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target [Service] ExecStart={bindir}/vrm.sh @@ -11,4 +11,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control.bb index 25af11261..454601ea9 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control.bb @@ -27,7 +27,7 @@ TMPL_WA= "avsbus-workaround@.service" INSTFMT_EN= "avsbus-enable@{0}.service" INSTFMT_DIS= "avsbus-disable@{0}.service" INSTFMT_WA= "avsbus-workaround@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT_EN = "../${TMPL_EN}:${TGTFMT}.requires/${INSTFMT_EN}" FMT_DIS = "../${TMPL_DIS}:${TGTFMT}.requires/${INSTFMT_DIS}" FMT_WA = "../${TMPL_WA}:${TGTFMT}.requires/${INSTFMT_WA}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service index 4d300c5a1..ca9256206 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service @@ -3,7 +3,7 @@ Description=Disable the AVS bus on the VRMs Wants=avsbus-workaround@%i.service After=avsbus-workaround@%i.service Before=vrm-control@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service index 35475673f..92d626e7a 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service @@ -3,7 +3,7 @@ Description=Enable the AVS bus on VRMs Wants=vrm-control@%i.service After=vrm-control@%i.service Before=vcs_off@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service index b3eb1b8fc..a8bebc566 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service @@ -3,7 +3,7 @@ Description=Perform AVS bus workaround on VRMs Wants=ucd_disable_vcs@%i.service After=ucd_disable_vcs@%i.service Before=avsbus-disable@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post.bb index ec7eecaf9..96a6ebef6 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post.bb @@ -31,8 +31,8 @@ INSTFMT_OFF = "vcs_off@{0}.service" INSTFMT_OFF_PO = "vcs_off_poweroff@{0}.service" INSTFMT_ON = "vcs_on@{0}.service" INSTFMT_UCD = "ucd_disable_vcs@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" -TGTFMT_OFF= "obmc-power-chassis-off@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" +TGTFMT_OFF= "obmc-chassis-poweroff@{0}.target" FMT_OFF = "../${TMPL_OFF}:${TGTFMT}.requires/${INSTFMT_OFF}" FMT_ON = "../${TMPL_ON}:${TGTFMT}.requires/${INSTFMT_ON}" FMT_UCD = "../${TMPL_UCD}:${TGTFMT}.requires/${INSTFMT_UCD}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/ucd_disable_vcs@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/ucd_disable_vcs@.service index 16088941a..0fddc1fad 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/ucd_disable_vcs@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/ucd_disable_vcs@.service @@ -2,7 +2,7 @@ Description=Disable UCD VCS rails Wants=obmc-power-start-pre@%i.target Before=obmc-power-start-pre@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -11,4 +11,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off@.service index 81cc68187..918a7445d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off@.service @@ -2,7 +2,7 @@ Description=Disable VCS before Witherspoon power on Wants=obmc-power-start-pre@%i.target Before=obmc-power-start-pre@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -11,4 +11,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off_poweroff@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off_poweroff@.service index e039479f9..b09358073 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off_poweroff@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_off_poweroff@.service @@ -2,7 +2,7 @@ Description=Disable VCS on a power off Wants=op-wait-power-off@%i.service After=op-wait-power-off@%i.service -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target [Service] ExecStart={bindir}/vcs_off.sh @@ -10,4 +10,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-off@%i.target +WantedBy=obmc-chassis-poweroff@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service index 181026c2b..797db67cb 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service @@ -4,7 +4,7 @@ Wants=vcs_workaround@%i.service After=vcs_workaround@%i.service Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -13,4 +13,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control.bb index ba745bdf4..acb4002a0 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control.bb @@ -17,7 +17,7 @@ do_install() { TMPL = "vrm-control@.service" INSTFMT = "vrm-control@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" SYSTEMD_SERVICE_${PN} += "${TMPL}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control@.service index 12c189f54..6a6be0336 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control@.service @@ -3,7 +3,7 @@ Description=Apply voltage overrides to VRMs Wants=avsbus-disable@%i.service After=avsbus-disable@%i.service Before=avsbus-enable@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy=obmc-power-chassis-on@%i.target +WantedBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control.bb b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control.bb index 39aa5a32a..d5843924e 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control.bb @@ -10,7 +10,7 @@ TMPL_ON = "avsbus-enable@.service" INSTFMT_OFF = "avsbus-disable@{0}.service" INSTFMT_ON = "avsbus-enable@{0}.service" TGTFMT_OFF = "obmc-chassis-stop@{0}.target" -TGTFMT_ON = "obmc-power-chassis-on@{0}.target" +TGTFMT_ON = "obmc-chassis-poweron@{0}.target" FMT_OFF = "../${TMPL_OFF}:${TGTFMT_OFF}.wants/${INSTFMT_OFF}" FMT_ON = "../${TMPL_ON}:${TGTFMT_ON}.requires/${INSTFMT_ON}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service index 23c9f321c..0f786a624 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control/avsbus-enable@.service @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -RequiredBy=obmc-power-chassis-on@%i.target +RequiredBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup.bb b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup.bb index 2b2bb71c9..bd33c6382 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup.bb @@ -6,7 +6,7 @@ inherit obmc-phosphor-license TMPL = "op-refclock-fixup@.service" INSTFMT = "op-refclock-fixup@{0}.service" -TGTFMT = "obmc-power-chassis-on@{0}.target" +TGTFMT = "obmc-chassis-poweron@{0}.target" FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" SYSTEMD_SERVICE_${PN} += "${TMPL}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service index c94772df9..4b4383474 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service @@ -14,4 +14,4 @@ RemainAfterExit=yes ExecStart={sbindir}/fix_zaius_refclock.sh [Install] -RequiredBy=obmc-power-chassis-on@%i.target +RequiredBy=obmc-chassis-poweron@%i.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control.bb b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control.bb index c7710b38e..33b646f04 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control.bb +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control.bb @@ -13,7 +13,7 @@ TMPL_ON = "vcs-on@.service" INSTFMT_OFF = "vcs-off@{0}.service" INSTFMT_ON = "vcs-on@{0}.service" TGTFMT_OFF = "obmc-chassis-stop@{0}.target" -TGTFMT_ON = "obmc-power-chassis-on@{0}.target" +TGTFMT_ON = "obmc-chassis-poweron@{0}.target" FMT_OFF = "../${TMPL_OFF}:${TGTFMT_OFF}.wants/${INSTFMT_OFF}" FMT_ON = "../${TMPL_ON}:${TGTFMT_ON}.requires/${INSTFMT_ON}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control/vcs-on@.service b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control/vcs-on@.service index 354e56511..919406014 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control/vcs-on@.service +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control/vcs-on@.service @@ -12,4 +12,4 @@ Type=oneshot RemainAfterExit=yes [Install] -RequiredBy=obmc-power-chassis-on@%i.target +RequiredBy=obmc-chassis-poweron@%i.target diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb index 1cca3662a..265ea1e30 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb @@ -48,7 +48,7 @@ HOST_ACTION_TARGETS_2 = "reset" CHASSIS_FMT = "obmc-chassis-{0}@.target" SYNCH_POWER_FMT = "obmc-power-{0}@.target" -CHASSIS_POWER_FMT = "obmc-power-chassis-{0}@.target" +CHASSIS_POWER_FMT = "obmc-chassis-power{0}@.target" CHASSIS_POWER_FMT_2 = "obmc-chassis-{0}@.target" HOST_SYNCH_FMT = "obmc-host-{0}@.target" HOST_ACTION_FMT = "obmc-{0}-host@.target" @@ -56,7 +56,7 @@ HOST_ACTION_FMT_2 = "obmc-host-{0}@.target" CHASSIS_LINK_FMT = "${CHASSIS_FMT}:obmc-chassis-{0}@{1}.target" SYNCH_POWER_LINK_FMT = "${SYNCH_POWER_FMT}:obmc-power-{0}@{1}.target" -CHASSIS_POWER_LINK_FMT = "${CHASSIS_POWER_FMT}:obmc-power-chassis-{0}@{1}.target" +CHASSIS_POWER_LINK_FMT = "${CHASSIS_POWER_FMT}:obmc-chassis-power{0}@{1}.target" CHASSIS_POWER_LINK_FMT_2 = "${CHASSIS_POWER_FMT_2}:obmc-chassis-{0}@{1}.target" HOST_LINK_SYNCH_FMT = "${HOST_SYNCH_FMT}:obmc-host-{0}@{1}.target" HOST_LINK_ACTION_FMT = "${HOST_ACTION_FMT}:obmc-{0}-host@{1}.target" diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-chassis-off@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target index ceba1e39a..bf775fd7b 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-chassis-off@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target @@ -4,6 +4,6 @@ Wants={SYSTEMD_DEFAULT_TARGET} After={SYSTEMD_DEFAULT_TARGET} Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target Conflicts=obmc-chassis-reset@%i.target RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-chassis-on@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target index 32250a419..bb7e7978e 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-chassis-on@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target @@ -4,7 +4,7 @@ Wants={SYSTEMD_DEFAULT_TARGET} After={SYSTEMD_DEFAULT_TARGET} Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStop=yes -OnFailure=obmc-power-chassis-off@%i.target +OnFailure=obmc-chassis-poweroff@%i.target OnFailureJobMode=flush diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-reset@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-reset@.target index ce9e3b015..2ef6c7053 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-reset@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-reset@.target @@ -1,6 +1,6 @@ [Unit] Description=Chassis%i (Reset Check) -Conflicts=obmc-power-chassis-off%i.target +Conflicts=obmc-chassis-poweroff%i.target RefuseManualStop=yes [Install] diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-stop@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-stop@.target index 0fccea219..bc887b311 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-stop@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-chassis-stop@.target @@ -6,5 +6,5 @@ Wants=mapper-wait@-org-openbmc-control-chassis%i.service After=mapper-wait@-org-openbmc-control-chassis%i.service Conflicts=obmc-chassis-start@%i.target RefuseManualStop=yes -OnFailure=obmc-power-chassis-off@%i.target +OnFailure=obmc-chassis-poweroff@%i.target OnFailureJobMode=flush 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 0ca4aa9ea..c47b21e47 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-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%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 6eefba044..52135ffc9 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-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-reset-on@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-reset-on@.target index 5c8d3e6f0..d24d401bf 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-reset-on@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-reset-on@.target @@ -1,5 +1,5 @@ [Unit] Description=Chassis%i power on after reset -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%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 2900d16b5..1a1ea6319 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-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%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 355ab1c56..a977d5ad3 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-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%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 d28871b4b..2f130c9dc 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-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%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 edf669724..b32d76f9b 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,7 +2,7 @@ Description=Power%i Off After=obmc-power-stop-pre@%i.target Wants={SYSTEMD_DEFAULT_TARGET} -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target Conflicts=fsi-disable.service RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target index d0473b091..4f10419ab 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target @@ -3,4 +3,4 @@ Description=Quiesce Target Wants={SYSTEMD_DEFAULT_TARGET} After={SYSTEMD_DEFAULT_TARGET} RefuseManualStop=yes -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power.bb b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power.bb index 6217e141b..44421bd92 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power.bb +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power.bb @@ -25,12 +25,12 @@ SYSTEMD_SERVICE_${PN} += " \ SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/power_control" START_TMPL = "op-power-start@.service" -START_TGTFMT = "obmc-power-chassis-on@{1}.target" +START_TGTFMT = "obmc-chassis-poweron@{1}.target" START_INSTFMT = "op-power-start@{0}.service" START_FMT = "../${START_TMPL}:${START_TGTFMT}.requires/${START_INSTFMT}" STOP_TMPL = "op-power-stop@.service" -STOP_TGTFMT = "obmc-power-chassis-off@{1}.target" +STOP_TGTFMT = "obmc-chassis-poweroff@{1}.target" STOP_INSTFMT = "op-power-stop@{0}.service" STOP_FMT = "../${STOP_TMPL}:${STOP_TGTFMT}.requires/${STOP_INSTFMT}" @@ -65,15 +65,15 @@ SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'RESET_ON_FMT', 'OBMC_POWER_INSTAN SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'RESET_ON_CHASSIS_FMT', 'OBMC_POWER_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" # Now show that the main control target requires these power targets -START_TMPL_CTRL = "obmc-power-chassis-on@.target" +START_TMPL_CTRL = "obmc-chassis-poweron@.target" START_TGTFMT_CTRL = "obmc-chassis-start@{1}.target" -START_INSTFMT_CTRL = "obmc-power-chassis-on@{0}.target" +START_INSTFMT_CTRL = "obmc-chassis-poweron@{0}.target" START_FMT_CTRL = "../${START_TMPL_CTRL}:${START_TGTFMT_CTRL}.requires/${START_INSTFMT_CTRL}" SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'START_FMT_CTRL', 'OBMC_POWER_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" -STOP_TMPL_CTRL = "obmc-power-chassis-off@.target" +STOP_TMPL_CTRL = "obmc-chassis-poweroff@.target" STOP_TGTFMT_CTRL = "obmc-chassis-stop@{1}.target" -STOP_INSTFMT_CTRL = "obmc-power-chassis-off@{0}.target" +STOP_INSTFMT_CTRL = "obmc-chassis-poweroff@{0}.target" STOP_FMT_CTRL = "../${STOP_TMPL_CTRL}:${STOP_TGTFMT_CTRL}.requires/${STOP_INSTFMT_CTRL}" SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'STOP_FMT_CTRL', 'OBMC_POWER_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service index 08131230c..f76695e7b 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service @@ -6,7 +6,7 @@ After=obmc-power-start-pre@%i.target After=obmc-fan-control.target Wants=mapper-wait@-org-openbmc-control-power%i.service After=mapper-wait@-org-openbmc-control-power%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service index 9120a87bd..86ddf4a32 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-stop@.service @@ -5,7 +5,7 @@ Before=obmc-power-stop@%i.target After=obmc-power-stop-pre@%i.target Wants=mapper-wait@-org-openbmc-control-power%i.service After=mapper-wait@-org-openbmc-control-power%i.service -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target [Service] RemainAfterExit=yes diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-chassis-on@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-chassis-on@.service index e41950d29..cb78804e0 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-chassis-on@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-chassis-on@.service @@ -7,7 +7,7 @@ Requires=obmc-power-reset-on@%i.target [Service] RemainAfterExit=no -ExecStart=/bin/systemctl start obmc-power-chassis-on@%i.target +ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target [Install] diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-pgood-check@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-pgood-check@.service index b0095371f..2a461513d 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-pgood-check@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-pgood-check@.service @@ -4,7 +4,7 @@ Wants=mapper-wait@-org-openbmc-control-power%i.service After=mapper-wait@-org-openbmc-control-power%i.service Wants=obmc-power-reset-on@%i.target Before=obmc-power-reset-on@%i.target -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target [Service] RemainAfterExit=no diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-set-power-on@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-set-power-on@.service index 4d58d61a0..da852ff3f 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-set-power-on@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-reset-set-power-on@.service @@ -4,7 +4,7 @@ After=obmc-power-reset-on@%i.target Requires=obmc-power-reset-on@%i.target After=op-reset-pgood-check@%i.service Requires=op-reset-pgood-check@%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target [Service] RemainAfterExit=no diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service index 46e413eef..32ae6942d 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service @@ -5,7 +5,7 @@ Wants=obmc-power-stop@%i.target Before=obmc-power-stop@%i.target Wants=mapper-wait@-org-openbmc-control-power%i.service After=mapper-wait@-org-openbmc-control-power%i.service -Conflicts=obmc-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target [Service] Type=oneshot diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service index d612d61ce..1c85fc1b9 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service @@ -5,7 +5,7 @@ Wants=obmc-power-start@%i.target Before=obmc-power-start@%i.target Wants=mapper-wait@-org-openbmc-control-power%i.service After=mapper-wait@-org-openbmc-control-power%i.service -Conflicts=obmc-power-chassis-off@%i.target +Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb index e43a5b434..2d52a2668 100644 --- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb +++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb @@ -36,7 +36,7 @@ do_install_append() { } TMPL = "mboxd-reload@.service" -TGTFMT = "obmc-power-chassis-off@{0}.target" +TGTFMT = "obmc-chassis-poweroff@{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 9a8d8444b..1b89de94f 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-power-chassis-on@%i.target +Conflicts=obmc-chassis-poweron@%i.target [Service] Type=oneshot @@ -10,4 +10,4 @@ RemainAfterExit=yes ExecStart={sbindir}/mboxctl --reset [Install] -WantedBy=obmc-power-chassis-off@%i.target +WantedBy=obmc-chassis-poweroff@%i.target diff --git a/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb b/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb index dd2c5e957..c2963d93a 100644 --- a/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb +++ b/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb @@ -50,6 +50,6 @@ DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service" FILES_${PN}-discover = "${sbindir}/phosphor-discover-system-state" SRC_URI += "git://github.com/openbmc/phosphor-state-manager" -SRCREV = "3ed10085ae988b08e8230d35693d370bf75f0574" +SRCREV = "697474c5491f6840ae7c6fc64b7364d23b7e87b8" S = "${WORKDIR}/git" |