From 17b216ac6c9762ea781786787c1ccc9199e291c3 Mon Sep 17 00:00:00 2001 From: Charles Boyer Date: Fri, 27 Aug 2021 16:09:03 -0500 Subject: 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 Change-Id: I3d934c47a68899b2fd8fcba966f8d92c97554a77 --- .../meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager_%.bbappend') 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 \ " -- cgit v1.2.3