Get the initial IPMI SEL Record ID from syslog
Since the journal will not be persisted, IPMI SEL entries will be
stored in syslog instead. This changes the SEL Logger to get the
initial IPMI SEL Record ID from the persisten syslog instead of
the journal.
Tested:
1. Added an IPMI SEL entry by overriding a sensor.
2. Rebooted
3. Added an IPMI SEL entry by overriding a sensor.
4. Confirmed that the new SEL entry got the next Record ID and
did not restart at 1.
Change-Id: I85c2ebee66bb6b8d29c734d6bd05458a311845df
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e843eca..5fc1ae2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@
target_include_directories (sel-logger PRIVATE ${CMAKE_SOURCE_DIR})
-target_link_libraries (sel-logger systemd sdbusplus pthread phosphor_logging)
+target_link_libraries (sel-logger systemd sdbusplus pthread phosphor_logging -lstdc++fs)
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)