diff options
author | Artem Senichev <artemsen@gmail.com> | 2018-11-02 16:46:13 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-11-20 07:02:52 +0300 |
commit | fb69513910a4fabd9c4861dfdbf862c6cb27c8ca (patch) | |
tree | b476cc765bfffa6343d60fec3f26675d45fff4b9 /meta-phosphor/recipes-phosphor/logging | |
parent | 09a8ceb9a797f7d531fcca5dfd072363bc8753b9 (diff) | |
download | openbmc-fb69513910a4fabd9c4861dfdbf862c6cb27c8ca.tar.xz |
Add bitbake recipe for building phosphor-hostlogger
(From meta-phosphor rev: 8135af993aadc15de2fdc289c5c9f8fe8ec52932)
Change-Id: I5f8dec6493e0fddf46b48850109ae826908d8fc0
Signed-off-by: Artem Senichev <artemsen@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/logging')
-rw-r--r-- | meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb new file mode 100644 index 000000000..f7e53a28a --- /dev/null +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb @@ -0,0 +1,38 @@ +SUMMARY = "Phosphor Host logger" +DESCRIPTION = "Save log messages from host's console to the persistent storage." +HOMEPAGE = "https://github.com/openbmc/phosphor-hostlogger" +PR = "r1" +PV = "1.0+git${SRCPV}" + +inherit autotools +inherit pkgconfig +inherit pythonnative +inherit systemd + +# License info +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +# Dependencies +DEPENDS += "sdbusplus \ + sdbusplus-native \ + phosphor-dbus-interfaces" +RDEPENDS_${PN} += "obmc-console" +RRECOMMENDS_${PN} += "phosphor-debug-collector" + +# systemd service setup +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} = "hostlogger.service" +SYSTEMD_DEFAULT_TARGET ?= "multi-user.target" + +# Host TTY setup +OBMC_CONSOLE_HOST_TTY ?= "ttyVUART0" + +# Extra parameters for 'configure' script +EXTRA_OECONF = "HOST_TTY=${OBMC_CONSOLE_HOST_TTY} \ + SYSTEMD_TARGET=${SYSTEMD_DEFAULT_TARGET}" + +# Source code repository +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/openbmc/phosphor-hostlogger" +SRCREV = "4d5a5dcd6f974166c8d0f2657e0079a7f3fc5e01" |