summaryrefslogtreecommitdiffstats
path: root/item_updater_main.cpp
diff options
context:
space:
mode:
authorMichael Tritz <mtritz@us.ibm.com>2017-07-12 13:44:53 -0500
committerMichael Tritz <mtritz@us.ibm.com>2017-07-18 14:03:35 -0500
commit37a59043c5c32e893d83f981a56abc8507bb36c7 (patch)
tree712672e28e593ac0a9f7a2027b609745ed59172c /item_updater_main.cpp
parent4c1aec09c68f27fcdcf0f419c9eb08a56c3ab772 (diff)
downloadphosphor-bmc-code-mgmt-37a59043c5c32e893d83f981a56abc8507bb36c7.tar.gz
phosphor-bmc-code-mgmt-37a59043c5c32e893d83f981a56abc8507bb36c7.zip
Item Updater: Implement BMC factory reset
This commit implements the generic factory reset interface for the BMC software updater. When the reset function is called, a service file is called which sets the environmental variable to reset the RW volume. Change-Id: Ic69b5d145edd654ed75295a9e9aeef9f53779dad Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
Diffstat (limited to 'item_updater_main.cpp')
-rw-r--r--item_updater_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/item_updater_main.cpp b/item_updater_main.cpp
index 8426e46..42343bb 100644
--- a/item_updater_main.cpp
+++ b/item_updater_main.cpp
@@ -10,7 +10,7 @@ int main(int argc, char* argv[])
// Add sdbusplus ObjectManager.
sdbusplus::server::manager::manager objManager(bus, SOFTWARE_OBJPATH);
- phosphor::software::updater::ItemUpdater updater(bus);
+ phosphor::software::updater::ItemUpdater updater(bus, SOFTWARE_OBJPATH);
bus.request_name(BUSNAME_UPDATER);
OpenPOWER on IntegriCloud