Activation: Wait for service files to complete
The Activation process calls a pair of service files upon which
later steps are dependent. These units take some time to run, so
the later steps would fail. This commit subscribes the Activation
object to systemd signals and puts the later steps on hold until
the service files have finished running.
Additionally, the service file used to move the squashfs to flash
is moved into the activation process, so not all images that the
user downloads are saved to flash.
Resolves openbmc/openbmc#1716
Change-Id: Id3ecf6334e069f69c355f0c0e8901a93fd95d496
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
3 files changed