blob: 757ca3163bc4ec4c99cbdea8c55fc905cf4cd726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
SUMMARY = "OpenPOWER Debug Collector"
DESCRIPTION = "Application to log error during host checkstop"
PR = "r1"
inherit autotools \
pkgconfig \
obmc-phosphor-systemd \
pythonnative
require ${PN}.inc
DEPENDS += " \
phosphor-logging \
autoconf-archive-native \
sdbus++-native \
"
RDEPENDS_${PN} += " \
phosphor-logging \
"
S = "${WORKDIR}/git"
# This needs to be executed as part of host crash
DEBUG_TMPL = "openpower-debug-collector@.service"
CRASH_TGTFMT = "obmc-host-crash@{0}.target"
DEBUG_INSTFMT = "openpower-debug-collector@{0}.service"
CRASH_DEBUG_FMT = "../${DEBUG_TMPL}:${CRASH_TGTFMT}.wants/${DEBUG_INSTFMT}"
SYSTEMD_SERVICE_${PN} += "${DEBUG_TMPL}"
SYSTEMD_LINK_${PN} += "${@compose_list(d, 'CRASH_DEBUG_FMT', 'OBMC_HOST_INSTANCES')}"
|