Move script and systemd service files into repo
Move the obmc-flash-bios script and systemd service files from
openbmc/openbmc to the local repo.
Tested: PNOR code update was successful on witherspoon.
Change-Id: Ibb7adba0638b8205173cb0ec4d4d61f2aeb6ce28
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/ubi/Makefile.am.include b/ubi/Makefile.am.include
index decf1e9..98ea301 100644
--- a/ubi/Makefile.am.include
+++ b/ubi/Makefile.am.include
@@ -3,3 +3,20 @@
%reldir%/item_updater_ubi.cpp \
%reldir%/serialize.cpp \
%reldir%/watch.cpp
+
+dist_bin_SCRIPTS = \
+ %reldir%/obmc-flash-bios
+
+if HAVE_SYSTEMD
+systemdsystemunit_DATA += \
+ %reldir%/obmc-flash-bios-check-clearvolatile@.service \
+ %reldir%/obmc-flash-bios-cleanup.service \
+ %reldir%/obmc-flash-bios-enable-clearvolatile@.service \
+ %reldir%/obmc-flash-bios-ubiattach.service \
+ %reldir%/obmc-flash-bios-ubimount@.service \
+ %reldir%/obmc-flash-bios-ubipatch.service \
+ %reldir%/obmc-flash-bios-ubiremount.service \
+ %reldir%/obmc-flash-bios-ubiumount-ro@.service \
+ %reldir%/obmc-flash-bios-ubiumount-rw@.service \
+ %reldir%/obmc-flash-bios-updatesymlinks.service
+endif