Move UBI service files into repo
Move the service files for the UBI layout from the openbmc/openbmc
repo to the local one.
Tested: The service files are installed in /lib/systemd/system/ and
code update on Witherspoon is successful.
Change-Id: I988045886fadbd2216ca91aba952a40ca1228e33
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/ubi/obmc-flash-bmc-ubiro-remove@.service b/ubi/obmc-flash-bmc-ubiro-remove@.service
new file mode 100644
index 0000000..e434bec
--- /dev/null
+++ b/ubi/obmc-flash-bmc-ubiro-remove@.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Deletes read-only and kernel ubi volume %I
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/usr/bin/obmc-flash-bmc ubiremove rofs-%i
+ExecStart=/usr/bin/obmc-flash-bmc ubiremove kernel-%i