diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-08-28 19:39:41 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-07 00:02:29 +0300 |
commit | 04aa22fa41cd330ce098201a491b88e809a98d2b (patch) | |
tree | 80fb20ad753a0ee499ed5fee520acefb55a36ccb /meta-phosphor/recipes-phosphor/logging | |
parent | f9e9cc6f6fb1d1c953cdd84389d930d4bc037613 (diff) | |
download | openbmc-04aa22fa41cd330ce098201a491b88e809a98d2b.tar.xz |
Add new logging package
Package app phosphor-rsyslog-conf. This app implements an API to update
the rsyslog config.
(From meta-phosphor rev: f99f3c8b4e3b364b0d1afacc144a31cccb8772da)
Change-Id: I06b68329d258782bba52a93f4f6431ba94783e53
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.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-logging.bb | 7 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-logging.bb index 9adbc4ff4..b4615ba76 100644 --- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging.bb +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging.bb @@ -31,6 +31,7 @@ FILES_${PN}-elog += "${elog_dir}" # Package configuration LOGGING_PACKAGES = " \ ${PN}-base \ + phosphor-rsyslog-config \ " ALLOW_EMPTY_${PN} = "1" @@ -45,6 +46,12 @@ FILES_${PN}-base += " \ " DBUS_SERVICE_${PN}-base += "xyz.openbmc_project.Logging.service" +RDEPENDS_phosphor-rsyslog-config += "sdbusplus phosphor-dbus-interfaces" +DBUS_SERVICE_phosphor-rsyslog-config += "xyz.openbmc_project.Syslog.Config.service" +FILES_phosphor-rsyslog-config += " \ + ${sbindir}/phosphor-rsyslog-conf \ +" + SRC_URI += "git://github.com/openbmc/phosphor-logging" SRCREV = "5ac1bde129258d906246f5d4ad78e036f03a6e80" diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service new file mode 100644 index 000000000..240839fd7 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service @@ -0,0 +1,12 @@ +[Unit] +Description=Rsyslog config updater + +[Service] +ExecStart=/usr/bin/env phosphor-rsyslog-conf +SyslogIdentifier=phosphor-rsyslog-conf +Restart=always +Type=dbus +BusName={BUSNAME} + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |