summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend
diff options
context:
space:
mode:
authorCharles Boyer <Charles.Boyer@fii-usa.com>2021-08-28 00:09:03 +0300
committerVivekanand Veeracholan <vveerach@google.com>2021-11-11 01:46:50 +0300
commit17b216ac6c9762ea781786787c1ccc9199e291c3 (patch)
tree0a544aca4ce153ea713e3293f83375dbd7f092a9 /meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend
parent200e8ca29afb46d10989210532bb2dccc76b4959 (diff)
downloadopenbmc-17b216ac6c9762ea781786787c1ccc9199e291c3.tar.xz
meta-fii/meta-kudo: Customize chassis power cycle action
Instead of a host or chassis restart for a Chassis PowerCycle, have both the BMC and host perform a hard reset. This requires changes to phosphor-state-manager to add the handling of xyz.openbmc_project.State.Chassis.Transition.PowerCycle. Currently, there is handling for On and Off, but not PowerCycle. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I3d934c47a68899b2fd8fcba966f8d92c97554a77
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend')
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 57e3aa6c8..bbd60bb3f 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -1,5 +1,7 @@
FILESEXTRAPATHS:prepend:kudo := "${THISDIR}/${PN}:"
+CHASSIS_ACTION_TARGETS:append:kudo = " powercycle"
+
SRC_URI:append:kudo = " \
file://xyz.openbmc_project.State.Chassis.service \
"