From: James Knight Date: Tue, 20 Dec 2016 00:05:15 +0000 (-0500) Subject: rsyslog: enable journal plugins when using systemd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5ba775ec5c92bd0ac1c2c25e0afad983951cc49;p=buildroot.git 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 --- 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