Skip to content

Commit

Permalink
reg-config: ensure runs before chassis power on
Browse files Browse the repository at this point in the history
openbmc/phosphor-state-manager#16 documents an issue with the
[email protected]. Root cause is unknown at this point. Until
root cause is understood there, set the service dependency directly to
ensure this service always runs prior to chassis power being turned on.

Tested:
- Ran 10 power on/off and verified this service always ran before power
  was turned on to the chassis.

Change-Id: I6192d8226f6916ba36b01407f271215bd53c2ab3
Signed-off-by: Andrew Geissler <[email protected]>
  • Loading branch information
geissonator committed Aug 13, 2021
1 parent 539b608 commit bb1dfb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/phosphor-regulators-config.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Phosphor Power Regulators Config
Wants[email protected]
Before[email protected]
Before[email protected]
Conflicts[email protected]
# No need to run again if BMC reboots at runtime
ConditionPathExists=!/run/openbmc/chassis@0-on
Expand Down

0 comments on commit bb1dfb6

Please sign in to comment.