* [gentoo-dev] [PATCH v2] linux-mod.eclass: respect INSTALL_MOD_PATH
@ 2021-08-23 20:07 Mike Pagano
0 siblings, 0 replies; only message in thread
From: Mike Pagano @ 2021-08-23 20:07 UTC (permalink / raw
To: gentoo-dev
Change to respect INSTALL_MOD_PATH
Bug: https://bugs.gentoo.org/642240
Signed-off-by: Mike Pagano <mpagano@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..7e47a2e20 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-23 20:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-23 20:07 [gentoo-dev] [PATCH v2] linux-mod.eclass: respect INSTALL_MOD_PATH Mike Pagano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox