Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor Debug Collector" |
| 2 | DESCRIPTION = "Phosphor Debug Collector provides mechanisms \ |
| 3 | to collect various FFDC files and system parameters. \ |
| 4 | This will be helpful for troubleshooting the problems in OpenBMC \ |
| 5 | based systems." |
| 6 | |
| 7 | PR = "r1" |
| 8 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 9 | DEBUG_COLLECTOR_PKGS = " \ |
| 10 | ${PN}-manager \ |
| 11 | ${PN}-monitor \ |
| 12 | " |
| 13 | PACKAGES =+ "${DEBUG_COLLECTOR_PKGS}" |
| 14 | PACKAGES_remove = "${PN}" |
| 15 | RDEPENDS_${PN}-dev = "${DEBUG_COLLECTOR_PKGS}" |
| 16 | RDEPENDS_${PN}-staticdev = "${DEBUG_COLLECTOR_PKGS}" |
| 17 | |
| 18 | DBUS_PACKAGES = "${PN}-manager" |
| 19 | |
| 20 | SYSTEMD_PACKAGES = "${PN}-monitor" |
| 21 | |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 22 | inherit autotools \ |
| 23 | pkgconfig \ |
Jayanth Othayoth | aae91e3 | 2017-06-05 03:10:00 -0500 | [diff] [blame] | 24 | obmc-phosphor-dbus-service \ |
| 25 | pythonnative |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 26 | |
| 27 | require phosphor-debug-collector.inc |
| 28 | |
| 29 | DEPENDS += " \ |
| 30 | phosphor-dbus-interfaces \ |
| 31 | phosphor-dbus-interfaces-native \ |
| 32 | phosphor-logging \ |
| 33 | sdbusplus \ |
| 34 | sdbusplus-native \ |
| 35 | autoconf-archive-native \ |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 36 | " |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 37 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 38 | RDEPENDS_${PN}-manager += " \ |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 39 | sdbusplus \ |
| 40 | phosphor-dbus-interfaces \ |
| 41 | phosphor-logging \ |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 42 | " |
| 43 | RDEPENDS_${PN}-monitor += " \ |
| 44 | sdbusplus \ |
| 45 | phosphor-dbus-interfaces \ |
| 46 | phosphor-logging \ |
| 47 | " |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 48 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 49 | FILES_${PN}-manager += "${sbindir}/phosphor-dump-manager" |
| 50 | FILES_${PN}-monitor += "${sbindir}/phosphor-dump-monitor" |
| 51 | |
| 52 | DBUS_SERVICE_${PN}-manager += "xyz.openbmc_project.Dump.Manager.service" |
| 53 | SYSTEMD_SERVICE_${PN}-monitor += "obmc-dump-monitor.service" |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 54 | |
| 55 | S = "${WORKDIR}/git" |