#include "config.h" #include "item_updater.hpp" #include "software_utils.hpp" #include #include #include using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater; int main() { sdbusplus::async::context ctx; // Add sdbusplus ObjectManager. sdbusplus::server::manager_t objManager(ctx, SOFTWARE_OBJPATH); ItemUpdaterIntf updater(ctx, SOFTWARE_OBJPATH, ItemUpdaterIntf::UpdaterType::ALL, false); ctx.request_name(BUSNAME_UPDATER); ctx.run(); return 0; }