ubox: make use of modprobe
authorJohn Crispin <john@openwrt.org>
Tue, 17 Sep 2013 21:45:01 +0000 (21:45 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 17 Sep 2013 21:45:01 +0000 (21:45 +0000)
ubox now has modprobe support
build and install the tool

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38019

package/system/ubox/Makefile

index 31c62bde7e6f788961dc8cf9da8bb174c4abb935..f96c91bd321fdf6f487ce4b8ba4b9e4f90e0a57f 100644 (file)
@@ -1,13 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ubox
-PKG_VERSION:=2013-08-16.1
+PKG_VERSION:=2013-09-17
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/luci2/ubox.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=5290ec879aa4d9f4192df00aad4434b0f0afa872
+PKG_SOURCE_VERSION:=cc07b0b7ac66d0e4a05470dd69a28305405cd7dd
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 CMAKE_INSTALL:=1
 
@@ -42,8 +42,11 @@ define Package/ubox/install
        ln -s /sbin/mount_root $(1)/sbin/switch2jffs
        ln -s /sbin/mount_root $(1)/sbin/jffs2reset
        ln -s /sbin/mount_root $(1)/sbin/jffs2mark
+       ln -s /sbin/kmodloader $(1)/usr/sbin/rmmod
+       ln -s /sbin/kmodloader $(1)/usr/sbin/insmod
        ln -s /sbin/kmodloader $(1)/usr/sbin/lsmod
        ln -s /sbin/kmodloader $(1)/usr/sbin/modinfo
+       ln -s /sbin/kmodloader $(1)/usr/sbin/modprobe
 endef
 
 define Package/block-mount/install