From 2496482acd4df532ebb2850679d2b55680c2ec9f Mon Sep 17 00:00:00 2001 From: Jayanth Othayoth Date: Mon, 4 Sep 2017 22:07:06 -0500 Subject: Enable support to handle InternalFailure type dump, during elog restore Resolves openbmc/openbmc#2078 Change-Id: Iea47b9b7c0cd6cae21642057b21c4e99d85be1e8 Signed-off-by: Jayanth Othayoth --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 00a76bf..fa69297 100644 --- a/configure.ac +++ b/configure.ac @@ -77,5 +77,11 @@ AC_DEFINE_UNQUOTED([BMC_DUMP_TOTAL_SIZE], [$BMC_DUMP_TOTAL_SIZE], [Total size of AC_DEFINE(OBJ_LOGGING, "/xyz/openbmc_project/logging", [The log manager DBus object path.]) +AC_ARG_VAR(ELOG_ID_PERSIST_PATH, [Path of file for storing elog id's, which have associated dumps]) +AS_IF([test "x$ELOG_ID_PERSIST_PATH" == "x"], \ + [ELOG_ID_PERSIST_PATH="/var/lib/phosphor-debug-collector/elogid"]) +AC_DEFINE_UNQUOTED([ELOG_ID_PERSIST_PATH], ["$ELOG_ID_PERSIST_PATH"], \ + [Path of file for storing elog id's, which have associated dumps]) + AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- cgit v1.2.1