package/busybox: invert dependency with ifplugd
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
996c4fb6d5
commit
0181815337
@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
|
||||
|
||||
# Packages that provide commands that may also be busybox applets:
|
||||
BUSYBOX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_IFPLUGD),ifplugd) \
|
||||
$(if $(BR2_PACKAGE_IFUPDOWN),ifupdown) \
|
||||
$(if $(BR2_PACKAGE_IPROUTE2),iproute2) \
|
||||
$(if $(BR2_PACKAGE_IPUTILS),iputils) \
|
||||
|
@ -15,11 +15,6 @@ IFPLUGD_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
|
||||
IFPLUGD_CONF_OPTS = --disable-lynx --with-initdir=/etc/init.d/
|
||||
IFPLUGD_DEPENDENCIES = libdaemon
|
||||
|
||||
# Prefer big ifplugd
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
IFPLUGD_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
define IFPLUGD_INSTALL_FIXUP
|
||||
$(INSTALL) -D -m 0644 $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
|
||||
$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
|
||||
|
Loading…
Reference in New Issue
Block a user