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/buildjson.cpp b/bmc/buildjson.cpp
index a32fbcb..25703f7 100644
--- a/bmc/buildjson.cpp
+++ b/bmc/buildjson.cpp
@@ -68,4 +68,8 @@
unit, systemdMode);
}
+const std::vector<const char*> defaultConfigPaths = {
+ "/usr/share/phosphor-ipmi-flash",
+};
+
} // namespace ipmi_flash