From 76f169e71be10b50b9617e606c38aff9553e6de8 Mon Sep 17 00:00:00 2001 From: Vikram Bodireddy Date: Fri, 15 May 2020 21:17:08 +0530 Subject: [PATCH] Add ApplyOptions D-bus property under Software This change adds the ApplyOptions D-bus property under xyz.openbmc_project.Software.BMC.Updater. ApplyOptions is needed for BIOS NVRAM clear during BIOS firmware update. ClearConfig attribute is passed from RF to fwupd script. Tested: Set and Get of ClearConfig from fwupd.sh works fine. Signed-off-by: Vikram Bodireddy --- item_updater.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/item_updater.hpp b/item_updater.hpp index 3f0530f..5c1a779 100644 --- a/item_updater.hpp +++ b/item_updater.hpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -24,7 +25,8 @@ using ItemUpdaterInherit = sdbusplus::server::object::object< sdbusplus::xyz::openbmc_project::Common::server::FactoryReset, sdbusplus::xyz::openbmc_project::Control::server::FieldMode, sdbusplus::xyz::openbmc_project::Association::server::Definitions, - sdbusplus::xyz::openbmc_project::Collection::server::DeleteAll>; + sdbusplus::xyz::openbmc_project::Collection::server::DeleteAll, + sdbusplus::xyz::openbmc_project::Software::server::ApplyOptions>; namespace MatchRules = sdbusplus::bus::match::rules; using VersionClass = phosphor::software::manager::Version; -- 2.17.1