commit | 13fc66ad2ec8d6e65dfb025e5c149c0256ff070d | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@us.ibm.com> | Thu Aug 31 15:36:44 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 13 21:33:35 2017 +0000 |
tree | e5e4858516f1fb774bb974061126c512ccd224f0 | |
parent | 3588acc8b011f7f39e19ddf77daf5b4e512a37da [diff] |
Add checks for currently running host image before erasing - Check for Host state and the Active image. If the image we're trying to erase matches the Active image and the host is running, fail to erase the image. Resolves openbmc/openbmc#1986 Change-Id: Ia9488c9ede585494fa4449ef0e83af35d50d03f8 Signed-off-by: Eddie James <eajames@us.ibm.com>