static: add temporary filename for staging update
Add the filename planned to use for stage the update. This location was
chosen because a rename operation can happen locally within the folder,
such that it's an inode change and not a data copy.
Change-Id: I2868e8409325f0ee4bcd71f653a2e81355a5cefe
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index 52efb04..b7b972e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,11 @@
[AC_DEFINE(PCI_PHYSICAL_ADDRESS, [$PCI_PHYSICAL_ADDRESS], [Value for PCI-to-AHB bridge set.])]
)
+AC_ARG_VAR(STATIC_HANDLER_STAGED_NAME, [The file to use for staging the firmware update.])
+AS_IF([test "x$STATIC_HANDLER_STAGED_NAME" == "x"], [STATIC_HANDLER_STAGED_NAME="/run/initramfs/bmc-image"])
+AC_DEFINE_UNQUOTED([STATIC_HANDLER_STAGED_NAME], ["$STATIC_HANDLER_STAGED_NAME"], [The file to use for staging the firmware update.])
+
+
# Create configured output
AC_CONFIG_FILES([Makefile test/Makefile])
AC_OUTPUT