commit | 5a38763fcd44cdcf7390174423790a50bf76d091 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Wed Apr 04 16:51:22 2018 +0800 |
committer | Lei YU <mine260309@gmail.com> | Wed Apr 04 16:52:56 2018 +0800 |
tree | 4e48cb963cc16d6b43e8e49376c0f489f3f90a8e | |
parent | d1142e346da97ba6681122b6c27ae1e09e8f314d [diff] |
bmc_update.py: Use BMC state manager to reboot BMC It was using BMC control service to call warmReset() to reboot BMC. But now legacy BMC control service is removed so the call will fail. Use BMC state manager instead to trigger BMC reboot. Partially resolves openbmc/openbmc#3064. Tested: Run legacy code update and verify PrepareForupdate() does reboot the BMC. Change-Id: I9f0fcddce9fb8f4007db0dd17b3cd3840c8848fc Signed-off-by: Lei YU <mine260309@gmail.com>