buildjson: Add a non-persistent path
This allows users to generate configuration that don't persist to the
SPI or conflict with configs shipped as part of the firmware.
Change-Id: I7de362565387e2739c09fa4c60ecedd8a7dea5d8
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/bmc/buildjson.cpp b/bmc/buildjson.cpp
index 25703f7..21a48f3 100644
--- a/bmc/buildjson.cpp
+++ b/bmc/buildjson.cpp
@@ -70,6 +70,7 @@
const std::vector<const char*> defaultConfigPaths = {
"/usr/share/phosphor-ipmi-flash",
+ "/run/phosphor-ipmi-flash",
};
} // namespace ipmi_flash