Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] linux-mod.eclass: respect INSTALL_MOD_PATH
Date: Mon, 23 Aug 2021 18:35:44
Message-Id: 2dff73c894f28763cce14a3c1ec5c7661ff5077c.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] linux-mod.eclass: respect INSTALL_MOD_PATH by Mike Pagano
1 On Mon, 2021-08-23 at 14:32 -0400, Mike Pagano wrote:
2 > Change to respect INSTALL_MOD_PATH
3 >
4 > Bug: https://bugs.gentoo.org/642240
5 >
6 > Signed-off-by: Mike Pagano <mpagano@g.o>
7 > ---
8 > eclass/linux-mod.eclass | 2 +-
9 > 1 file changed, 1 insertion(+), 1 deletion(-)
10 >
11 > diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
12 > index e87c5ec0c..48d7a8cbb 100644
13 > --- a/eclass/linux-mod.eclass
14 > +++ b/eclass/linux-mod.eclass
15 > @@ -741,7 +741,7 @@ linux-mod_src_install() {
16 >
17 > einfo "Installing ${modulename} module"
18 > cd "${objdir}" || die "${objdir} does not exist"
19 > - insinto /lib/modules/${KV_FULL}/${libdir}
20 > + insinto ${INSTALL_MOD_PATH}/lib/modules/${KV_FULL}/${libdir}
21
22 Double quotes?
23
24 > doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed"
25 > cd "${OLDPWD}"
26 >
27
28
29
30 --
31 Best regards,
32 Michał Górny