mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
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)
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||||
RSYSLOG_CONF_OPTS += \
|
RSYSLOG_CONF_OPTS += \
|
||||||
|
--enable-imjournal \
|
||||||
|
--enable-omjournal \
|
||||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||||
RSYSLOG_DEPENDENCIES += systemd
|
RSYSLOG_DEPENDENCIES += systemd
|
||||||
|
else
|
||||||
|
RSYSLOG_CONF_OPTS += \
|
||||||
|
--disable-imjournal \
|
||||||
|
--disable-omjournal
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define RSYSLOG_INSTALL_INIT_SYSV
|
define RSYSLOG_INSTALL_INIT_SYSV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user