[source] ubox: install kernel module utilities to /sbin directory

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 26 09:07:47 PST 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/81aeba9b7f619ee1af1a64f355ae8001fa147d03

commit 81aeba9b7f619ee1af1a64f355ae8001fa147d03
Author: Yousong Zhou <yszhou4tech at gmail.com>
AuthorDate: Wed Jan 11 19:57:23 2017 +0800

    ubox: install kernel module utilities to /sbin directory
    
    This is how other Linux distributions are doing and kernel
    modprobe_path[] of request_module() also has a default value of
    /sbin/modprobe
    
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/system/ubox/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile
index e833cac..138e566 100644
--- a/package/system/ubox/Makefile
+++ b/package/system/ubox/Makefile
@@ -41,11 +41,11 @@ define Package/ubox/install
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getrandom $(1)/usr/bin/
 	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libvalidate.so $(1)/lib
 
-	$(LN) ../../sbin/kmodloader $(1)/usr/sbin/rmmod
-	$(LN) ../../sbin/kmodloader $(1)/usr/sbin/insmod
-	$(LN) ../../sbin/kmodloader $(1)/usr/sbin/lsmod
-	$(LN) ../../sbin/kmodloader $(1)/usr/sbin/modinfo
-	$(LN) ../../sbin/kmodloader $(1)/usr/sbin/modprobe
+	$(LN) kmodloader $(1)/sbin/rmmod
+	$(LN) kmodloader $(1)/sbin/insmod
+	$(LN) kmodloader $(1)/sbin/lsmod
+	$(LN) kmodloader $(1)/sbin/modinfo
+	$(LN) kmodloader $(1)/sbin/modprobe
 endef
 
 define Package/logd/install



More information about the lede-commits mailing list