Brad Bishop | 37653df | 2017-05-12 13:02:56 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC event and error logging" |
| 2 | DESCRIPTION = "An error and event log daemon application, and \ |
| 3 | supporting tools for OpenBMC." |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 4 | HOMEPAGE = "https://github.com/openbmc/phosphor-logging" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 7 | DEPENDS += "systemd" |
Matt Spinler | 017f942 | 2020-03-13 15:57:29 -0500 | [diff] [blame] | 8 | DEPENDS += "${PYTHON_PN}-mako-native" |
| 9 | DEPENDS += "${PYTHON_PN}-pyyaml-native" |
| 10 | DEPENDS += "${PYTHON_PN}-native" |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 11 | DEPENDS += "${PYTHON_PN}-sdbus++-native" |
| 12 | DEPENDS += "sdbusplus" |
Patrick Williams | add9383 | 2020-06-10 06:52:05 -0500 | [diff] [blame] | 13 | DEPENDS += "phosphor-dbus-interfaces" |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 14 | DEPENDS += "virtual/phosphor-logging-callouts" |
Brad Bishop | 17c08bf | 2018-10-18 17:07:53 -0400 | [diff] [blame] | 15 | DEPENDS += "libcereal" |
Matt Spinler | f319ea6 | 2019-07-23 16:04:04 -0500 | [diff] [blame] | 16 | DEPENDS += "sdeventplus" |
Patrick Williams | 60c4907 | 2021-04-16 14:14:26 -0500 | [diff] [blame] | 17 | DEPENDS += "packagegroup-obmc-yaml-providers" |
Andrew Geissler | 60d4284 | 2023-01-13 08:50:24 -0600 | [diff] [blame] | 18 | SRCREV = "a6c487878213513cf775d90e3703241456a9469d" |
Patrick Williams | 2d52a38 | 2021-04-30 10:27:59 -0500 | [diff] [blame] | 19 | PACKAGECONFIG ??= "" |
Matt Spinler | f851092 | 2019-08-08 13:21:24 -0500 | [diff] [blame] | 20 | PACKAGECONFIG[openpower-pels] = " \ |
Patrick Williams | 2d52a38 | 2021-04-30 10:27:59 -0500 | [diff] [blame] | 21 | -Dopenpower-pel-extension=enabled, \ |
| 22 | -Dopenpower-pel-extension=disabled, \ |
Manojkiran Eda | c593475 | 2022-09-27 13:59:35 -0500 | [diff] [blame] | 23 | nlohmann-json cli11 libpldm python3, \ |
Harisuddin Mohamed Isa | cdfe38f | 2020-06-05 16:47:37 +0800 | [diff] [blame] | 24 | python3, \ |
Matt Spinler | f851092 | 2019-08-08 13:21:24 -0500 | [diff] [blame] | 25 | " |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 26 | PV = "1.0+git${SRCPV}" |
| 27 | PR = "r1" |
| 28 | |
| 29 | SRC_URI += "git://github.com/openbmc/phosphor-logging;branch=master;protocol=https" |
| 30 | |
| 31 | SYSTEMD_PACKAGES = "${LOGGING_PACKAGES}" |
| 32 | S = "${WORKDIR}/git" |
| 33 | |
| 34 | inherit pkgconfig meson |
| 35 | inherit python3native |
| 36 | inherit obmc-phosphor-dbus-service |
| 37 | inherit phosphor-logging |
| 38 | inherit phosphor-dbus-yaml |
Matt Spinler | f851092 | 2019-08-08 13:21:24 -0500 | [diff] [blame] | 39 | |
Patrick Williams | 2d52a38 | 2021-04-30 10:27:59 -0500 | [diff] [blame] | 40 | EXTRA_OEMESON = " \ |
William A. Kennington III | efe03c3 | 2021-05-29 14:55:41 -0700 | [diff] [blame] | 41 | -Dtests=disabled \ |
Patrick Williams | 2d52a38 | 2021-04-30 10:27:59 -0500 | [diff] [blame] | 42 | -Dyamldir=${STAGING_DIR_TARGET}${yaml_dir} \ |
| 43 | -Dcallout_yaml=${STAGING_DIR_NATIVE}${callouts_datadir}/callouts.yaml \ |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 44 | " |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 45 | |
| 46 | FILES:${PN}-test = "${bindir}/*-test" |
| 47 | FILES:${PN}-base += " \ |
| 48 | ${datadir}/dbus-1 \ |
| 49 | ${bindir}/phosphor-log-manager \ |
| 50 | ${libdir}/libphosphor_logging.so.* \ |
| 51 | " |
| 52 | FILES:phosphor-rsyslog-config += " \ |
| 53 | ${bindir}/phosphor-rsyslog-conf \ |
| 54 | " |
| 55 | |
| 56 | ALLOW_EMPTY:${PN} = "1" |
| 57 | |
| 58 | USERADD_PACKAGES = "${PN}-base" |
| 59 | |
| 60 | PACKAGE_BEFORE_PN = "${PN}-test" |
| 61 | # Package configuration |
| 62 | LOGGING_PACKAGES = " \ |
| 63 | ${PN}-base \ |
| 64 | phosphor-rsyslog-config \ |
| 65 | " |
| 66 | PACKAGE_BEFORE_PN += "${LOGGING_PACKAGES}" |
| 67 | DBUS_PACKAGES = "${LOGGING_PACKAGES}" |
| 68 | GROUPADD_PARAM:${PN}-base = "-r phosphor-logging" |
| 69 | DBUS_SERVICE:${PN}-base += "xyz.openbmc_project.Logging.service" |
| 70 | DBUS_SERVICE:phosphor-rsyslog-config += "xyz.openbmc_project.Syslog.Config.service" |