commit | 004882e90c392733e27d442de7dd6f427abf1190 | [log] [tgz] |
---|---|---|
author | Leonel Gonzalez <lgonzalez@us.ibm.com> | Fri Jul 21 12:54:55 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Jul 24 18:58:58 2017 +0000 |
tree | b4fe4c22aa4280d862cc364d65690ebfb2de397c | |
parent | 9196bc389d1080e937381af78c3535e9c9f02ece [diff] |
BMC Code Mgmt: Service files to delete ro and rw partitions Adds service files to delete read only and read write partitions. Change-Id: Ia0101b53defc9a92097d7c15f3c3b7bd7a8e5cd7 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb index f6f47b8..2319667 100644 --- a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -64,6 +64,8 @@ obmc-flash-bmc-ubirw.service \ obmc-flash-bmc-ubiro@.service \ obmc-flash-bmc-setenv@.service \ + obmc-flash-bmc-ubirw-remove.service \ + obmc-flash-bmc-ubiro-remove@.service \ " # Name of the mtd device where the ubi volumes should be created
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubiro-remove@.service b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubiro-remove@.service new file mode 100644 index 0000000..f2a39d6 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubiro-remove@.service
@@ -0,0 +1,7 @@ +[Unit] +Description=Deletes read-only ubi volume %I + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart={sbindir}/obmc-flash-bmc ubiremove ro-%i
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubirw-remove.service b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubirw-remove.service new file mode 100644 index 0000000..71a652b --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-bmc-ubirw-remove.service
@@ -0,0 +1,7 @@ +[Unit] +Description=Deletes BMC read-write ubi volume + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart={sbindir}/obmc-flash-bmc ubiremove rw