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