package/busybox: invert dependency with start-stop-daemon
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:45:40 +0000 (11:45 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 8 Jul 2018 10:22:14 +0000 (12:22 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/busybox/busybox.mk
package/start-stop-daemon/start-stop-daemon.mk

index bbf3834e0d721bb0f6c6df7fb72b57c7168fffd6..00e17c4be68a14a682d006197e2639391cd5b778 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_START_STOP_DAEMON),start-stop-daemon) \
        $(if $(BR2_PACKAGE_SYSKLOGD),sysklogd) \
        $(if $(BR2_PACKAGE_SYSLOG_NG),syslog-ng) \
        $(if $(BR2_PACKAGE_SYSTEMD),systemd) \
index 7071f5617e030f9519eaed509294411f0fc91711..01a67197625ffa5e966ed998dacd1390b941e506 100644 (file)
@@ -19,8 +19,7 @@ START_STOP_DAEMON_CONF_ENV = \
        dpkg_cv_va_copy=yes \
        dpkg_cv_c99_snprintf=yes \
        DPKG_DEVEL_MODE=1
-START_STOP_DAEMON_DEPENDENCIES = host-pkgconf \
-       $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+START_STOP_DAEMON_DEPENDENCIES = host-pkgconf
 # Patching m4/dpkg-arch.m4
 START_STOP_DAEMON_AUTORECONF = YES
 START_STOP_DAEMON_LICENSE = GPL-2.0+