Add checking ApplyTime for static layout
Add a check for static BMC whether auto reboot to apply update or not.
Tested: Verified with setting ApplyTime to Immediate and using
obmc-phosphor-image-<platorm>-<timestamp>.static.mtd.all.tar,
and BMC code update works fine.
Change-Id: I13b77b783746b083e09d96757ad7868fe7660fe3
Signed-off-by: Bright Cheng <bright_cheng@wiwynn.com>
diff --git a/Makefile.am b/Makefile.am
index 293867e..fa74dc8 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,7 +52,10 @@
xyz.openbmc_project.Software.BMC.Updater.service \
xyz.openbmc_project.Software.Download.service \
xyz.openbmc_project.Software.Sync.service \
- xyz.openbmc_project.Software.Version.service
+ xyz.openbmc_project.Software.Version.service \
+ reboot-guard-disable.service \
+ reboot-guard-enable.service \
+ force-reboot.service
if HOST_BIOS_UPGRADE
systemdsystemunit_DATA += obmc-flash-host-bios@.service