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>
owl
Yousong Zhou 2017-01-11 19:57:23 +08:00 committed by Jo-Philipp Wich
parent b54cbad6ef
commit 81aeba9b7f
1 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,11 @@ define Package/ubox/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getrandom $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getrandom $(1)/usr/bin/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libvalidate.so $(1)/lib $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libvalidate.so $(1)/lib
$(LN) ../../sbin/kmodloader $(1)/usr/sbin/rmmod $(LN) kmodloader $(1)/sbin/rmmod
$(LN) ../../sbin/kmodloader $(1)/usr/sbin/insmod $(LN) kmodloader $(1)/sbin/insmod
$(LN) ../../sbin/kmodloader $(1)/usr/sbin/lsmod $(LN) kmodloader $(1)/sbin/lsmod
$(LN) ../../sbin/kmodloader $(1)/usr/sbin/modinfo $(LN) kmodloader $(1)/sbin/modinfo
$(LN) ../../sbin/kmodloader $(1)/usr/sbin/modprobe $(LN) kmodloader $(1)/sbin/modprobe
endef endef
define Package/logd/install define Package/logd/install