[source] busybox: add as an alternative of /sbin/ip

LEDE Commits lede-commits at lists.infradead.org
Tue May 2 07:43:21 PDT 2017


yousong pushed a commit to source.git, branch master:
https://git.lede-project.org/8b1b094fefc41342e70a7cb498d5bcceef89abce

commit 8b1b094fefc41342e70a7cb498d5bcceef89abce
Author: Yousong Zhou <yszhou4tech at gmail.com>
AuthorDate: Tue May 2 22:11:17 2017 +0800

    busybox: add as an alternative of /sbin/ip
    
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/utils/busybox/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index f0110ee..b6091bf 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.26.2
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 PKG_FLAGS:=essential
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -44,6 +44,7 @@ define Package/busybox
   URL:=http://busybox.net/
   DEPENDS:=+BUSYBOX_USE_LIBRPC:librpc +BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter
   MENU:=1
+  ALTERNATIVES:=100:/sbin/ip:/bin/busybox
 endef
 
 define Package/busybox/description



More information about the lede-commits mailing list