1 #include "config.h"
2 
3 #include "item_updater.hpp"
4 #include "software_utils.hpp"
5 
6 #include <sdbusplus/asio/connection.hpp>
7 #include <sdbusplus/bus.hpp>
8 #include <sdbusplus/server/manager.hpp>
9 
10 int main()
11 {
12     sdbusplus::async::context ctx;
13 
14     // Add sdbusplus ObjectManager.
15     sdbusplus::server::manager_t objManager(ctx, SOFTWARE_OBJPATH);
16 
17     phosphor::software::updater::ItemUpdater updater(ctx, SOFTWARE_OBJPATH,
18                                                      false);
19 
20     ctx.request_name(BUSNAME_UPDATER);
21 
22     ctx.run();
23 
24     return 0;
25 }
26