From: Konstantin Demin Date: Fri, 7 Jun 2019 19:57:34 +0000 (+0300) Subject: busybox: add ALTERNATIVES for brctl X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=10011f91c5cffd0863bbec98a8da403c82354c8d;p=openwrt%2Fstaging%2Faparcar.git busybox: add ALTERNATIVES for brctl Busybox brctl applet conflicts with the version from bridge-utils. Fix this by using ALTERNATIVE support for brctl in busybox. Signed-off-by: Konstantin Demin Signed-off-by: Hans Dedecker [PKG_RELEASE increase] --- diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index ff25a35b6e..aa16dc80f3 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox PKG_VERSION:=1.30.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -46,6 +46,7 @@ define Package/busybox DEPENDS:=+BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter MENU:=1 ALTERNATIVES:=\ + $(call BUSYBOX_IF_ENABLED,BRCTL, 100:/usr/sbin/brctl:/bin/busybox) \ $(call BUSYBOX_IF_ENABLED,FIND, 100:/usr/bin/find:/bin/busybox) \ $(call BUSYBOX_IF_ENABLED,FLOCK, 100:/usr/bin/flock:/bin/busybox) \ $(call BUSYBOX_IF_ENABLED,FREE, 100:/usr/bin/free:/bin/busybox) \