Move script, systemd conf, service files into repo
Move the common scripts, systemd configuration and service files
from openbmc/openbmc to the local one.
Tested: The moved files are installed in their respective locations
and code update on Witherspoon is successful.
Change-Id: I2dc435db49dfbaf6e0a97cb58a9678c3462d1528
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 50ecf3d..c2478d1 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,9 @@
phosphor-download-manager \
phosphor-image-updater
+dist_bin_SCRIPTS = \
+ obmc-flash-bmc
+
phosphor_version_software_manager_SOURCES = \
image_manager_main.cpp \
watch.cpp \
@@ -42,6 +45,19 @@
item_updater.cpp \
item_updater_main.cpp
+if HAVE_SYSTEMD
+systemdsystemunit_DATA = \
+ obmc-flash-bmc-setenv@.service \
+ 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
+
+tmpfilesdir=${exec_prefix}/lib/tmpfiles.d/
+dist_tmpfiles_DATA = \
+ software.conf
+endif
+
if UBIFS_LAYOUT
include ubi/Makefile.am.include
else
@@ -68,6 +84,8 @@
sync_manager_main.cpp
phosphor_sync_software_manager_CXXFLAGS = $(generic_cxxflags)
phosphor_sync_software_manager_LDFLAGS = $(generic_ldflags)
+dist_sysconf_DATA = \
+ synclist
endif
nodist_phosphor_image_updater_SOURCES = \