blob: 3d725b7306cf8ec769b585b1b8ac1691b4b5b3b0 [file] [log] [blame]
#include "config.h"
#include "item_updater.hpp"
#include "software_utils.hpp"
#include <sdbusplus/asio/connection.hpp>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/manager.hpp>
int main()
{
sdbusplus::async::context ctx;
// Add sdbusplus ObjectManager.
sdbusplus::server::manager_t objManager(ctx, SOFTWARE_OBJPATH);
phosphor::software::updater::ItemUpdater updater(ctx, SOFTWARE_OBJPATH,
false);
ctx.request_name(BUSNAME_UPDATER);
ctx.run();
return 0;
}