Define new 'obmc-chassis-blackout@.target'
This implements a new target 'obmc-chassis-blackout@.target' that works to signify that a blackout has occurred on the chassis. This is useful in situation
Define new 'obmc-chassis-blackout@.target'
This implements a new target 'obmc-chassis-blackout@.target' that works to signify that a blackout has occurred on the chassis. This is useful in situations where the system suffers from a blackout and the user wants behavior that differs from the default of always running APR. It will also be attached to services such as phosphor-sensor-states that will ensure LEDs will be powered off.
Uses the proposed target added here https://gerrit.openbmc.org/c/openbmc/phosphor-state-manager/+/54364
Tested: - Booted an image with the corresponding changes to the bitbake recipe and verified that the new target was found in "/lib/systemd/system/". - verified the target could be called by systemctl. - obmc-chassis-blackout@0.target - Chassis Blackout Target Loaded: loaded (/lib/systemd/system/obmc-chassis-blackout@.target; static) Active: inactive (dead) - started target. - obmc-chassis-blackout@0.target - Chassis Blackout Target Loaded: loaded (/lib/systemd/system/obmc-chassis-blackout@.target; static) Active: active
Signed-off-by: Corey Hardesty <corey.hardesty@icloud.com> Change-Id: Ic7aded7213153e7ee0d711e02368680ae72d08a8
show more ...
|