package/kmod: fix host install
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Apr 2018 08:11:51 +0000 (10:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 9 Apr 2018 09:18:29 +0000 (11:18 +0200)
The host directory no longer uses /usr.

This currently works because we still have the  legacy /usr
symlink, but for correctness it is better that we just fix it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/kmod/kmod.mk

index bd676108aa84974857940e072569f3760553f7c0..e1149b7b65974de818e7ed28329bd07dee12b047 100644 (file)
@@ -74,7 +74,7 @@ endif
 # host.
 define HOST_KMOD_INSTALL_TOOLS
        mkdir -p $(HOST_DIR)/sbin/
-       ln -sf ../usr/bin/kmod $(HOST_DIR)/sbin/depmod
+       ln -sf ../bin/kmod $(HOST_DIR)/sbin/depmod
 endef
 
 HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS