diff options
author | Kumar Thangavel <thangavel.k@hcl.com> | 2021-02-17 10:00:20 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-04-01 18:58:38 +0300 |
commit | 06911e3b0f92a81bcb2442d3857fe6bb7288132e (patch) | |
tree | 18504408393c49de7f1ffc0367694a4ae5888de2 /meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend | |
parent | 30c326524501c0eb633e23f3619ec33ab70a1259 (diff) | |
download | openbmc-06911e3b0f92a81bcb2442d3857fe6bb7288132e.tar.xz |
Add hostlogger support
Added hostlogger support to store console
histories for all the host.
TESTED : Built the openbmc image targetting
Facebook Tiogapass and YosemiteV2 hardware.
Verified all the host log were generated.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Iee494d8ce025a253f0e7f915ec893acc44fd84a1
Diffstat (limited to 'meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend')
-rw-r--r-- | meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend b/meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend new file mode 100644 index 000000000..3c280ceba --- /dev/null +++ b/meta-facebook/recipes-phosphor/hostlogger/phosphor-hostlogger_%.bbappend @@ -0,0 +1,17 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://ttyS2.conf" + +SRC_URI_append_yosemitev2 += "file://ttyS0.conf" +SRC_URI_append_yosemitev2 += "file://ttyS1.conf" +SRC_URI_append_yosemitev2 += "file://ttyS3.conf" + +do_install_append() { + + # Install the configurations + install -m 0755 -d ${D}${sysconfdir}/${BPN} + install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ + + # Remove upstream-provided default configuration + rm -f ${D}${sysconfdir}/${BPN}/ttyVUART0.conf +} |