diff options
author | Potin Lai <potin.lai@quantatw.com> | 2022-06-14 13:35:10 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-06-22 15:22:50 +0300 |
commit | a8d258f6f444814acdfcac3631febe2116057de4 (patch) | |
tree | 6833598c35e8d6b626b8fb04f953ef84eabd449d /meta-intel-openbmc | |
parent | 501f4c7811d8e213229452d9350457a5394b1340 (diff) | |
download | openbmc-a8d258f6f444814acdfcac3631febe2116057de4.tar.xz |
meta-bletchley: motor-ctrl: fix host-ac-on failed during bmc boot
1. add service dependency to avoid host-ac-on service failed due to
inventory (presence_sledX) property not avaliable.
host-ac-on@X.service
|- motor-init-calibration@X.service (Requires, After)
|- phosphor-gpio-presence@presence-sledX.service (Requires, After)
2. simplify check method for ac-on & ac-off actions, just check host
ac status before set ac on/off.
3. fix host-ac-on service shows failed when ac is aready turned on
(ex: BMC reset), return 0 for both ac-on & ac-off actions no
matter GPIO (power-hostX) set required or not.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I2c878dea05ea2511e6564c0980ba34dc28a46e2c
Diffstat (limited to 'meta-intel-openbmc')
0 files changed, 0 insertions, 0 deletions