firmware: add sdbusplus for use by verification
The verification process starts a systemd service implemented outside
the scope of this codebase. Therefore, add sdbusplus to the build and
inject into the object.
Change-Id: Icaacb5d60334da78f6363682f3b97714eb482dcf
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 40f4b52..3130eec 100644
--- a/main.cpp
+++ b/main.cpp
@@ -26,6 +26,7 @@
#include <cstdint>
#include <memory>
#include <phosphor-logging/log.hpp>
+#include <sdbusplus/bus.hpp>
namespace blobs
{
@@ -82,7 +83,8 @@
using namespace phosphor::logging;
auto handler = blobs::FirmwareBlobHandler::CreateFirmwareBlobHandler(
- blobs::supportedFirmware, blobs::supportedTransports);
+ sdbusplus::bus::new_default(), blobs::supportedFirmware,
+ blobs::supportedTransports);
if (!handler)
{