Jason M. Bills | c865917 | 2018-10-26 14:07:48 -0700 | [diff] [blame] | 1 | SUMMARY = "Journal IPMI SEL Logger" |
| 2 | DESCRIPTION = "Utility to write IPMI SEL records to the journal" |
| 3 | |
| 4 | # SEL Logger has the ability to monitor and automatically log SEL records for |
| 5 | # various types of events, but this is disabled by default. The following |
| 6 | # flags can be set in a .bbappend to enable specific types of event |
| 7 | # monitoring: |
| 8 | # |
| 9 | # SEL_LOGGER_MONITOR_THRESHOLD_EVENTS: |
| 10 | # Monitors and logs SEL records for threshold sensor events |
| 11 | |
William A. Kennington III | e5b39f6 | 2021-08-06 09:23:57 -0700 | [diff] [blame] | 12 | inherit meson systemd |
Brad Bishop | d8b5967 | 2020-10-27 09:22:51 -0400 | [diff] [blame] | 13 | S = "${WORKDIR}/git" |
Jason M. Bills | c865917 | 2018-10-26 14:07:48 -0700 | [diff] [blame] | 14 | |
| 15 | LICENSE = "Apache-2.0" |
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 17 | |
William A. Kennington III | c985195 | 2021-07-29 17:57:30 -0700 | [diff] [blame] | 18 | DEPENDS += " \ |
| 19 | boost \ |
| 20 | sdbusplus \ |
| 21 | systemd \ |
William A. Kennington III | c985195 | 2021-07-29 17:57:30 -0700 | [diff] [blame] | 22 | " |
Jason M. Bills | c865917 | 2018-10-26 14:07:48 -0700 | [diff] [blame] | 23 | |
| 24 | SRC_URI = "git://github.com/openbmc/phosphor-sel-logger.git;protocol=git" |
Andrew Geissler | 353f12a | 2021-08-06 20:01:26 +0000 | [diff] [blame^] | 25 | SRCREV = "e295fd9d6f7572b49b2c6b72e715a01eb68807d0" |
Jason M. Bills | c865917 | 2018-10-26 14:07:48 -0700 | [diff] [blame] | 26 | |
| 27 | PV = "0.1+git${SRCPV}" |
| 28 | |
| 29 | SYSTEMD_SERVICE_${PN} += "xyz.openbmc_project.Logging.IPMI.service" |
William A. Kennington III | c985195 | 2021-07-29 17:57:30 -0700 | [diff] [blame] | 30 | |
| 31 | PACKAGECONFIG ??= "" |
William A. Kennington III | e5b39f6 | 2021-08-06 09:23:57 -0700 | [diff] [blame] | 32 | PACKAGECONFIG[log-threshold] = "-Dlog-threshold=true,-Dlog-threshold=false," |
| 33 | PACKAGECONFIG[log-pulse] = "-Dlog-pulse=true,-Dlog-pulse=false," |
| 34 | PACKAGECONFIG[log-watchdog] = "-Dlog-watchdog=true,-Dlog-watchdog=false," |
| 35 | PACKAGECONFIG[log-alarm] = "-Dlog-alarm=true,-Dlog-alarm=false," |
| 36 | PACKAGECONFIG[send-to-logger] = "-Dsend-to-logger=true,-Dsend-to-logger=false,phosphor-logging" |