kmod: fix ALTERNATIVES
ALTERNATIVES shall be defined in the package where /sbin/kmod resides -- otherwise kmod tools will break if we install only the library as these tools will be linked to a nonexistent executable. Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
This commit is contained in:
parent
9da08e65de
commit
f40a0cf5e4
1 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=kmod
|
||||
PKG_VERSION:=20
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/kmod/
|
||||
|
@ -32,6 +32,12 @@ define Package/kmod/Default
|
|||
TITLE:=Linux kernel module handling
|
||||
URL:=https://www.kernel.org/pub/linux/utils/kernel/kmod/
|
||||
DEPENDS:=+zlib
|
||||
endef
|
||||
|
||||
|
||||
define Package/kmod
|
||||
$(call Package/kmod/Default)
|
||||
TITLE+= (tools)
|
||||
ALTERNATIVES:=\
|
||||
200:/sbin/depmod:/sbin/kmod \
|
||||
200:/sbin/insmod:/sbin/kmod \
|
||||
|
@ -41,12 +47,6 @@ define Package/kmod/Default
|
|||
200:/sbin/rmmod:/sbin/kmod
|
||||
endef
|
||||
|
||||
|
||||
define Package/kmod
|
||||
$(call Package/kmod/Default)
|
||||
TITLE+= (tools)
|
||||
endef
|
||||
|
||||
define Package/kmod/description
|
||||
Linux kernel module handling
|
||||
kmod is a set of tools to handle common tasks with Linux kernel modules like
|
||||
|
|
Loading…
Reference in a new issue