Skip to contentSkip to conversation

rsyslog: remove non-existent enable/disable systemd options

PATCH New James Knight 2 participants 4 messages Dec 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 rsyslog: remove non-existent enable/disable systemd options

The configuration flags --enable-systemd and --disable-systemd do not exist in rsyslog (and may have never existed; most likely copy-paste from other packages which have said options); removing the options.

---
 package/rsyslog/rsyslog.mk | 3 ---
 1 file changed, 3 deletions(-)
package/rsyslog/rsyslog.mk +0 -3
index a0875b7..9e74e49 100644
@@ -66,11 +66,8 @@ endif
 
 ifeq ($(BR2_INIT_SYSTEMD),y)
 RSYSLOG_CONF_OPTS += \
-	--enable-systemd \
 	--with-systemdsystemunitdir=/usr/lib/systemd/system
 RSYSLOG_DEPENDENCIES += systemd
-else
-RSYSLOG_CONF_OPTS += --disable-systemd
 endif
 
 define RSYSLOG_INSTALL_INIT_SYSV
Signature · 1 line
2.8.4.windows.1
#1 lore raw

PATCH 2/2 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.

---
 package/rsyslog/rsyslog.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/rsyslog/rsyslog.mk +6 -0
index 9e74e49..3254d99 100644
@@ -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
Signature · 1 line
2.8.4.windows.1
#2 lore raw

PATCH 2/2 rsyslog: enable journal plugins when using systemd

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Knight <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 rsyslog: remove non-existent enable/disable systemd options

In reply to James Knight
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Knight <[email protected]> writes:

The configuration flags --enable-systemd and --disable-systemd do not exist in rsyslog (and may have never existed; most likely copy-paste from other packages which have said options); removing the options.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard