diff options
author | Mike Pagano <mpagano@gentoo.org> | 2021-08-24 07:23:03 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2021-08-24 07:23:03 -0400 |
commit | b9318f7c72fbca62de1c998f0ddb88461096405f (patch) | |
tree | fd852471c7ed3542a16b443b63f99077fc984f84 /eclass | |
parent | kernel-2.eclass: Add cpio dependency (diff) | |
download | gentoo-b9318f7c72fbca62de1c998f0ddb88461096405f.tar.gz gentoo-b9318f7c72fbca62de1c998f0ddb88461096405f.tar.bz2 gentoo-b9318f7c72fbca62de1c998f0ddb88461096405f.zip |
linux-mod.eclass: respect INSTALL_MOD_PATH
Closes: https://bugs.gentoo.org/642240
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index e87c5ec0cdb3..7e47a2e209d5 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}" |