1 |
commit: b9318f7c72fbca62de1c998f0ddb88461096405f |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 24 11:23:03 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 24 11:23:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9318f7c |
7 |
|
8 |
linux-mod.eclass: respect INSTALL_MOD_PATH |
9 |
|
10 |
Closes: https://bugs.gentoo.org/642240 |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
eclass/linux-mod.eclass | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass |
18 |
index e87c5ec0cdb..7e47a2e209d 100644 |
19 |
--- a/eclass/linux-mod.eclass |
20 |
+++ b/eclass/linux-mod.eclass |
21 |
@@ -741,7 +741,7 @@ linux-mod_src_install() { |
22 |
|
23 |
einfo "Installing ${modulename} module" |
24 |
cd "${objdir}" || die "${objdir} does not exist" |
25 |
- insinto /lib/modules/${KV_FULL}/${libdir} |
26 |
+ insinto "${INSTALL_MOD_PATH}"/lib/modules/${KV_FULL}/${libdir} |
27 |
doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed" |
28 |
cd "${OLDPWD}" |