package/sysklogd: fix installation path of the daemons
PATCH 1/1 package/sysklogd: fix installation path of the daemons
From: Carlos Santos <[email protected]>
Use "--exec-prefix=/" to install syslogd and klogd at /sbin, as required by the init scripts. This also ensures that the BusyBox counterparts are not installed.
Update the systemd unit files, accordingly.
---
CC: Peter Korsgaard <[email protected]>
Peter, this applies to 2019.11.x and later.
--- package/sysklogd/klogd.service | 2 +- package/sysklogd/sysklogd.mk | 1 + package/sysklogd/syslogd.service | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-)
package/sysklogd/klogd.service +1 -1
@@ -2,7 +2,7 @@ Description=Kernel Log Daemon [Service] -ExecStart=/usr/sbin/klogd -n +ExecStart=/sbin/klogd -n StandardOutput=null Restart=on-failure
package/sysklogd/sysklogd.mk +1 -0
@@ -10,6 +10,7 @@ SYSKLOGD_LICENSE = GPL-2.0+ SYSKLOGD_LICENSE_FILES = COPYING # From git SYSKLOGD_AUTORECONF = YES +SYSKLOGD_CONF_OPTS = --exec-prefix=/ define SYSKLOGD_INSTALL_SAMPLE_CONFIG $(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
package/sysklogd/syslogd.service +1 -1
@@ -4,7 +4,7 @@ Requires=syslog.socket Wants=klogd.service [Service] -ExecStart=/usr/sbin/syslogd -m 0 -n +ExecStart=/sbin/syslogd -m 0 -n StandardOutput=null Restart=on-failure
Signature · 1 line
2.18.2
Thomas Petazzoni
AppliedPATCH 1/1 package/sysklogd: fix installation path of the daemons
Quoted 11 lines · On Sat, 14 Mar 2020 23:27:06 -0300 unixmania at gmail.com wrote:
From: Carlos Santos <[email protected]>
Use "--exec-prefix=/" to install syslogd and klogd at /sbin, as required by the init scripts. This also ensures that the BusyBox counterparts are not installed.
Update the systemd unit files, accordingly.
Signed-off-by Carlos Santos <[email protected]>---
CC: Peter Korsgaard <[email protected]>
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/sysklogd: fix installation path of the daemons
In reply to unixmania at gmail.comQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"unixmania" == unixmania <[email protected]> writes:
From: Carlos Santos <[email protected]>
Use "--exec-prefix=/" to install syslogd and klogd at /sbin, as required by the init scripts. This also ensures that the BusyBox counterparts are not installed.
Quoted 5 lines
Update the systemd unit files, accordingly.
Signed-off-by Carlos Santos <[email protected]>---
CC: Peter Korsgaard <[email protected]>
Committed to 2020.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard