diff options
author | Josh D. King <jdking@us.ibm.com> | 2017-04-11 17:48:10 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-20 18:43:47 +0300 |
commit | 75c387543505666728f4422d7a82050b2f75f0e2 (patch) | |
tree | e33cac88b4b15ae89192fecd37a4fe6003c48907 /meta-phosphor/common/recipes-core | |
parent | efb04a1963ee03f7db756cb33ae52f024ffda086 (diff) | |
download | openbmc-75c387543505666728f4422d7a82050b2f75f0e2.tar.xz |
Refactor action target names Host-shutdown-quiesce
The target change is:
obmc-stop-host -> obmc-host-shutdown
obmc-quiesce-host -> obmc-host-quiesce
Updated skeleton-rev.bbclass to have
correct commit id.
Change-Id: Ida47f8709622d98129c0fe00c86bad77d8d76dfb
Signed-off-by: Josh D. King <jdking@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets.bb | 9 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset-running@.target | 2 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset@.target | 2 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target (renamed from meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-stop-host@.target) | 0 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-start@.target | 2 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-started@.target | 2 |
6 files changed, 9 insertions, 8 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb index cf8cb02b8..1d2c82568 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb @@ -30,11 +30,12 @@ CHASSIS_ACTION_TARGETS = "on off reset" HOST_SYNCH_TARGETS = "start-pre starting started stop-pre stopping stopped reset-running" # Track all host action targets -# - start: Service to run to start the host -# - stop: Services to run to shutdown the host -# - quiesce: Target to enter on host boot failure +# - start: Service to run to start the host +# - stop: Services to run to shutdown the host +# - quiesce: Target to enter on host boot failure +# - shutdown: Tell host to shutdown, then stop system # - reset: Services to check if host is running and update host "start" target -HOST_ACTION_TARGETS = "start stop quiesce reset" +HOST_ACTION_TARGETS = "start stop quiesce reset shutdown" CHASSIS_SYNCH_FMT = "obmc-power-{0}@.target" CHASSIS_ACTION_FMT = "obmc-chassis-power{0}@.target" diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset-running@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset-running@.target index 9edb84453..21dfa6e49 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset-running@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset-running@.target @@ -1,5 +1,5 @@ [Unit] Description=Host%i running after reset -Conflicts=obmc-stop-host@%i.target +Conflicts=obmc-host-shutdown@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset@.target index 36994075e..d823d794f 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-reset@.target @@ -1,6 +1,6 @@ [Unit] Description=Host%i (Reset Check) -Conflicts=obmc-stop-host%i.target +Conflicts=obmc-host-shutdown%i.target RefuseManualStop=yes [Install] diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-stop-host@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target index 9e7defe69..9e7defe69 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-stop-host@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-start@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-start@.target index 317c6c14f..144b63387 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-start@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-start@.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-host-stop@%i.target RefuseManualStop=yes -OnFailure=obmc-quiesce-host@%i.target +OnFailure=obmc-host-quiesce@%i.target OnFailureJobMode=flush diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-started@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-started@.target index 45d898bef..f1f7be14e 100644 --- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-started@.target +++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-started@.target @@ -3,6 +3,6 @@ Description=Host%i (Started) Wants={SYSTEMD_DEFAULT_TARGET} After=obmc-host-starting@%i.target Conflicts=obmc-host-stop@%i.target -Conflicts=obmc-stop-host@%i.target +Conflicts=obmc-host-shutdown@%i.target RefuseManualStart=yes RefuseManualStop=yes |