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 | |
Andrew Geissler | ec34cc6 | 2021-11-03 09:57:52 -0500 | [diff] [blame] | 12 | inherit pkgconfig 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 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame^] | 24 | SRC_URI = "git://github.com/openbmc/phosphor-sel-logger.git;protocol=https;branch=master" |
Andrew Geissler | f340bac | 2021-10-26 04:31:49 +0000 | [diff] [blame] | 25 | SRCREV = "87e3fcf439f2b943272365e1d294984f39bb52b8" |
Jason M. Bills | c865917 | 2018-10-26 14:07:48 -0700 | [diff] [blame] | 26 | |
| 27 | PV = "0.1+git${SRCPV}" |
| 28 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 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" |
Charles Boyer | 40e6cb6 | 2021-09-09 09:28:08 -0500 | [diff] [blame] | 37 | PACKAGECONFIG[clears-sel] = "-Dclears-sel=true,-Dclears-sel=false" |