Change to respect INSTALL_MOD_PATH
Bug: https://bugs.gentoo.org/642240
Signed-off-by: Mike Pagano <mpag...@gentoo.org>
---
eclass/linux-mod.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index e87c5ec0c..48d7a8cbb 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -741,7 +741,7 @@ linux-mod_src_install() {
einfo "Installing ${modulename} module"
cd "${objdir}" || die "${objdir} does not exist"
- insinto /lib/modules/${KV_FULL}/${libdir}
+ insinto ${INSTALL_MOD_PATH}/lib/modules/${KV_FULL}/${libdir}
doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ}
failed"
cd "${OLDPWD}"
--
2.31.1