From a5ba775ec5c92bd0ac1c2c25e0afad983951cc49 Mon Sep 17 00:00:00 2001 From: James Knight Date: Mon, 19 Dec 2016 19:05:15 -0500 Subject: [PATCH] rsyslog: enable journal plugins when using systemd The rsyslog package provides input and output plugins for journald which are disabled by default. The following adds the option to include `imjournal` and `omjournal` modules when building for a systemd target. Signed-off-by: James Knight Signed-off-by: Peter Korsgaard --- package/rsyslog/rsyslog.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk index 9e74e49dc8..3254d99933 100644 --- a/package/rsyslog/rsyslog.mk +++ b/package/rsyslog/rsyslog.mk @@ -66,8 +66,14 @@ endif ifeq ($(BR2_INIT_SYSTEMD),y) RSYSLOG_CONF_OPTS += \ + --enable-imjournal \ + --enable-omjournal \ --with-systemdsystemunitdir=/usr/lib/systemd/system RSYSLOG_DEPENDENCIES += systemd +else +RSYSLOG_CONF_OPTS += \ + --disable-imjournal \ + --disable-omjournal endif define RSYSLOG_INSTALL_INIT_SYSV -- 2.30.2