Artem Senichev | 8135af9 | 2018-11-02 16:46:13 +0300 | [diff] [blame] | 1 | SUMMARY = "Phosphor Host logger" |
| 2 | DESCRIPTION = "Save log messages from host's console to the persistent storage." |
| 3 | HOMEPAGE = "https://github.com/openbmc/phosphor-hostlogger" |
| 4 | PR = "r1" |
| 5 | PV = "1.0+git${SRCPV}" |
| 6 | |
| 7 | inherit autotools |
| 8 | inherit pkgconfig |
Patrick Williams | d65afb3 | 2020-04-03 15:03:47 -0500 | [diff] [blame] | 9 | inherit python3native |
Artem Senichev | 8135af9 | 2018-11-02 16:46:13 +0300 | [diff] [blame] | 10 | inherit systemd |
| 11 | |
| 12 | # License info |
| 13 | LICENSE = "Apache-2.0" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 15 | |
| 16 | # Dependencies |
Alexander Filippov | 74dc870 | 2019-01-10 12:38:09 +0300 | [diff] [blame] | 17 | DEPENDS += "\ |
| 18 | autoconf-archive-native \ |
| 19 | sdbusplus \ |
Patrick Williams | 2bebd12 | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 20 | ${PYTHON_PN}-sdbus++-native \ |
Alexander Filippov | 74dc870 | 2019-01-10 12:38:09 +0300 | [diff] [blame] | 21 | phosphor-dbus-interfaces \ |
| 22 | " |
Artem Senichev | 8135af9 | 2018-11-02 16:46:13 +0300 | [diff] [blame] | 23 | RDEPENDS_${PN} += "obmc-console" |
| 24 | RRECOMMENDS_${PN} += "phosphor-debug-collector" |
| 25 | |
| 26 | # systemd service setup |
| 27 | SYSTEMD_PACKAGES = "${PN}" |
| 28 | SYSTEMD_SERVICE_${PN} = "hostlogger.service" |
Artem Senichev | 8135af9 | 2018-11-02 16:46:13 +0300 | [diff] [blame] | 29 | |
| 30 | # Host TTY setup |
| 31 | OBMC_CONSOLE_HOST_TTY ?= "ttyVUART0" |
| 32 | |
| 33 | # Extra parameters for 'configure' script |
| 34 | EXTRA_OECONF = "HOST_TTY=${OBMC_CONSOLE_HOST_TTY} \ |
Patrick Venture | d607cfb | 2019-04-04 12:15:22 -0700 | [diff] [blame] | 35 | SYSTEMD_TARGET=multi-user.target" |
Artem Senichev | 8135af9 | 2018-11-02 16:46:13 +0300 | [diff] [blame] | 36 | |
| 37 | # Source code repository |
| 38 | S = "${WORKDIR}/git" |
| 39 | SRC_URI = "git://github.com/openbmc/phosphor-hostlogger" |
Andrew Geissler | f2088fc | 2020-06-09 11:21:23 +0000 | [diff] [blame^] | 40 | SRCREV = "bc5e1501408d6065dba06ff6c4f1caa83b030106" |