buildjson: Support multiple configuration paths
This will allow us to parse configurations from multiple paths in the
filesystem when they are added.
Right now this does not enable new behavior, but a future change will
enable a non-persistent configuration location.
Change-Id: Ifa9bc5eff9cfca84c923be381ec9927c62c2a2e5
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/bmc/version-handler/main.cpp b/bmc/version-handler/main.cpp
index 51df8e1..a08507c 100644
--- a/bmc/version-handler/main.cpp
+++ b/bmc/version-handler/main.cpp
@@ -22,6 +22,6 @@
extern "C" std::unique_ptr<blobs::GenericBlobInterface> createHandler()
{
return std::make_unique<ipmi_flash::VersionBlobHandler>(
- ipmi_flash::VersionHandlersBuilder().buildHandlerConfigs(
- "/usr/share/phosphor-ipmi-flash/"));
+ ipmi_flash::VersionHandlersBuilder()
+ .buildHandlerConfigsFromDefaultPaths());
}