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/firmware_handler.cpp b/firmware_handler.cpp
index 74328f3..c6c7fa5 100644
--- a/firmware_handler.cpp
+++ b/firmware_handler.cpp
@@ -36,7 +36,7 @@
std::unique_ptr<GenericBlobInterface>
FirmwareBlobHandler::CreateFirmwareBlobHandler(
- const std::vector<HandlerPack>& firmwares,
+ sdbusplus::bus::bus&& bus, const std::vector<HandlerPack>& firmwares,
const std::vector<DataHandlerPack>& transports)
{
/* There must be at least one. */
@@ -68,8 +68,8 @@
bitmask |= item.bitmask;
}
- return std::make_unique<FirmwareBlobHandler>(firmwares, blobs, transports,
- bitmask);
+ return std::make_unique<FirmwareBlobHandler>(std::move(bus), firmwares,
+ blobs, transports, bitmask);
}
/* Check if the path is in our supported list (or active list). */