Code Update: ApplyTime software manager support

Get the requested image apply time value provided through the
UpdateService redfish schema. If the apply time value is Immediate, then
BMC reboot will be triggered just after the new image activation. The
default apply time value is OnReset in which the new image remains at
Active state and user has to manualy reboot the BMC for applying the new
image.

Tested: Verified that BMC is getting rebooted if the apply time value is
Immediate. OnReset scenario was also tested in which new image remained at
Active state as code update application did not trigger the BMC reboot.

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I5efb51f7f36e196d6113cfca6d37c8c6bef70aa2
diff --git a/Makefile.am b/Makefile.am
index c2478d1..6c3ec16 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,8 @@
 	item_updater.hpp \
 	activation.hpp \
 	flash.hpp \
-	item_updater_helper.hpp
+	item_updater_helper.hpp \
+	utils.hpp
 
 bin_PROGRAMS = \
 	phosphor-version-software-manager \
@@ -43,7 +44,8 @@
 	version.cpp \
 	serialize.cpp \
 	item_updater.cpp \
-	item_updater_main.cpp
+	item_updater_main.cpp \
+	utils.cpp
 
 if HAVE_SYSTEMD
 systemdsystemunit_DATA = \
@@ -67,10 +69,10 @@
 if WANT_SIGNATURE_VERIFY_BUILD
 noinst_HEADERS += \
 	image_verify.hpp \
-	utils.hpp
+	openssl_alloc.hpp
 phosphor_image_updater_SOURCES += \
 	image_verify.cpp \
-	utils.cpp
+	openssl_alloc.cpp
 endif
 
 if WANT_SYNC