diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-07-17 15:47:34 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-07-19 08:08:50 -0500 |
commit | bbcb7be18c21da6c5d82be7f744b777aea610f24 (patch) | |
tree | e08882fbc06b6a9f8a4896f3e3792019901b5a5a /static/item_updater_helper.cpp | |
parent | 56aaf454adef04bd4c1d45870cd86dc2de0a880a (diff) | |
download | phosphor-bmc-code-mgmt-bbcb7be18c21da6c5d82be7f744b777aea610f24.tar.gz phosphor-bmc-code-mgmt-bbcb7be18c21da6c5d82be7f744b777aea610f24.zip |
Move setting the priority U-Boot variable to ubi
The service that sets the priority value is unique to the ubi
layout because there is only one version at a time on the
static layout.
Move the calling of the service to the ubi implementation.
Tested:
- Witherspoon: Priorities are still set.
- Romulus: The BMC.Updater app does not core dump with the
latest sdbusplus changes due to calling a non-existent service.
Change-Id: Ica1c68f00d5cb43c51ee09c5a3851613edf941d5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'static/item_updater_helper.cpp')
-rw-r--r-- | static/item_updater_helper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/item_updater_helper.cpp b/static/item_updater_helper.cpp index 5cd8b9e..e639e63 100644 --- a/static/item_updater_helper.cpp +++ b/static/item_updater_helper.cpp @@ -7,6 +7,11 @@ namespace software namespace updater { +void Helper::setEntry(const std::string& entryId, uint8_t value) +{ + // Empty +} + void Helper::clearEntry(const std::string& entryId) { // Empty |