Service files for factory reset change - clear instead of delete
This commit adds a new service file to the build which will clear the
contents of a specified UBI volume. It's intended as the backend for the
host factory reset.
Additionally, the service file obmc-flash-bios-ubiumount-prsv.service is
removed. This file removes the volume pnor-prsv. Its only use case - the
factory reset - is changing in this issue, openbmc/openbmc#2322, to
clear that volume instead of deleting it, so there's no reason to keep
the service file around anymore.
Change-Id: I577291e3511bf5234ffb87084a082255dac3dbae
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager.bb
index ce1fbb3..4d2c4b8 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager.bb
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager.bb
@@ -45,10 +45,10 @@
SYSTEMD_SERVICE_${PN} += " \
obmc-flash-bios-ubiattach.service \
obmc-flash-bios-ubimount@.service \
- obmc-flash-bios-ubiumount-prsv.service \
obmc-flash-bios-ubiumount-ro@.service \
obmc-flash-bios-ubiumount-rw@.service \
obmc-flash-bios-ubipatch.service \
obmc-flash-bios-ubiremount.service \
obmc-flash-bios-updatesymlinks.service \
+ obmc-flash-bios-ubiclear@.service \
"