Code update flow: Set properties and load squashfs on object creation
Set the Activation properties during the code update flow and
do some checkings:
Only activate an image that has a value of Ready or Failed.
Only validate an image if a corresponding object doesn't exist.
Move the activating of the partitions from the RequestedActivation
to the Activation function to have it in a central location, and
set the Activation to Activating during that process.
Load the squashfs image when the Activation object is created
since the image can be deleted from the BMC and would not be
able to be activated when requested.
Change-Id: I7eba400ca29461e2f41a8d8889a9825572b98344
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed