aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-01-11 19:57:23 +0800
committerJo-Philipp Wich <jo@mein.io>2017-01-26 18:07:37 +0100
commit81aeba9b7f619ee1af1a64f355ae8001fa147d03 (patch)
tree86991070a3306893c5baa179fc04a800839af662 /package
parentb54cbad6ef2fe592c1624915a84190759620f91c (diff)
downloadupstream-81aeba9b7f619ee1af1a64f355ae8001fa147d03.tar.gz
upstream-81aeba9b7f619ee1af1a64f355ae8001fa147d03.tar.bz2
upstream-81aeba9b7f619ee1af1a64f355ae8001fa147d03.zip
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@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/system/ubox/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile
index e833cac487..138e566fba 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