diff options
Diffstat (limited to 'meta-phosphor')
4 files changed, 22 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog/rsyslog.conf b/meta-phosphor/recipes-extended/rsyslog/rsyslog/rsyslog.conf new file mode 100644 index 000000000..40b3f294f --- /dev/null +++ b/meta-phosphor/recipes-extended/rsyslog/rsyslog/rsyslog.conf @@ -0,0 +1,3 @@ +$ModLoad imuxsock + +$IncludeConfig /etc/rsyslog.d/server.conf diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf b/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf new file mode 100644 index 000000000..5c8161b29 --- /dev/null +++ b/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf @@ -0,0 +1,2 @@ +# Remote Logging (we use TCP for reliable delivery) +#*.* @@remote-host:port diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend new file mode 100644 index 000000000..0a2fb3334 --- /dev/null +++ b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend @@ -0,0 +1,16 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://rsyslog.conf \ + file://server.conf \ +" + +PACKAGECONFIG ??= " \ + rsyslogd rsyslogrt inet regexp uuid \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ +" + +do_install_append(){ + install -m 0644 -D ${WORKDIR}/server.conf \ + ${D}${sysconfdir}/rsyslog.d/server.conf +} diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb index 5c184babf..e3e62884f 100644 --- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb +++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb @@ -83,6 +83,7 @@ RDEPENDS_${PN}-leds = " \ SUMMARY_${PN}-logging = "Logging applications" RDEPENDS_${PN}-logging = " \ phosphor-logging \ + rsyslog \ " SUMMARY_${PN}-sensors = "Sensor applications" |