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 <james.knight@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
9d505b87f6
commit
a5ba775ec5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user