package/sysklogd: install syslogd to /sbin and logger to /usr/bin

Replace --exec-prefix, which applies to both sbin and bin, with the more
granular --bindir for logger and --sbindir for syslogd.  This because
BusyBox installs its syslgod in /sbin and its logger in /usr/bin.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
[yann.morin.1998@free.fr: add comment, split one-option-per-line]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Joachim Wiberg 2021-01-24 16:34:10 +01:00 committed by Yann E. MORIN
parent 7ee49e48bd
commit d9707ca6da

View File

@ -9,8 +9,12 @@ SYSKLOGD_SITE = https://github.com/troglobit/sysklogd/releases/download/v$(SYSKL
SYSKLOGD_LICENSE = BSD-3-Clause
SYSKLOGD_LICENSE_FILES = LICENSE
SYSKLOGD_CPE_ID_VALID = YES
# Busybox install logger in /usr/bin, and syslogd in /sbin, so install in
# the same locations so that busybox does not install its applets in there.
SYSKLOGD_CONF_OPTS = \
--exec-prefix=/ \
--bindir=/usr/bin \
--sbindir=/sbin \
--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
# Disable/Enable utilities