blob: 886324317bc439ebca331885927be26a3ee17cb8 [file]
# SEL Logger has the ability to monitor and automatically log SEL records for
# various types of events, but this is disabled by default. The following
# flags can be set in a .bbappend to enable specific types of event
# monitoring:
#
# SEL_LOGGER_MONITOR_THRESHOLD_EVENTS:
# Monitors and logs SEL records for threshold sensor events
SUMMARY = "Journal IPMI SEL Logger"
DESCRIPTION = "Utility to write IPMI SEL records to the journal"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
DEPENDS += " \
boost \
sdbusplus \
systemd \
phosphor-dbus-interfaces \
"
SRCREV = "3c6b9c3a873f7624a6bbf6ebb10482d7a167c0a6"
PACKAGECONFIG ??= ""
PACKAGECONFIG[log-threshold] = "-Dlog-threshold=true,-Dlog-threshold=false,"
PACKAGECONFIG[log-pulse] = "-Dlog-pulse=true,-Dlog-pulse=false,"
PACKAGECONFIG[log-watchdog] = "-Dlog-watchdog=true,-Dlog-watchdog=false,"
PACKAGECONFIG[log-alarm] = "-Dlog-alarm=true,-Dlog-alarm=false,"
PACKAGECONFIG[log-host] = "-Dlog-host=true,-Dlog-host=false,"
PACKAGECONFIG[send-to-logger] = "-Dsend-to-logger=true,-Dsend-to-logger=false,phosphor-logging"
PACKAGECONFIG[sel-delete] = "-Dsel-delete=true,-Dsel-delete=false"
PV = "0.1+git${SRCPV}"
SRC_URI = "git://github.com/openbmc/phosphor-sel-logger.git;protocol=https;branch=master"
RDEPENDS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'send-to-logger', '', 'rsyslog', d)}"
FILES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'send-to-logger', '', '${sysconfdir}/rsyslog.d/phosphor-sel-logger.conf', d)}"
SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.Logging.IPMI.service"
inherit pkgconfig meson systemd