Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2022 06:20:51 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: avoiding "install" for dependencies with PORTS_MODULES
Message-ID:  <PSAPR03MB5639BCAD24E0EA8A483D72C2FAC09@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <t4rktu$il5$1@usenet.ziemba.us>
References:  <t4rktu$il5$1@usenet.ziemba.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

I am not sure, but here is my normal port update:

portmaster (some other options...) -x \*-kmod-\[0-9gv\] -a

Regards.


G. Paul Ziemba wrote on 2022/05/04 01:23:
> An unfortunate property of building ports locally (as opposed to
> via poudriere) is that dependencies are often installed to the host
> file system during the build even when I am not doing "make install"
> to the target port.
> 
> I normally sidestep this issue by using poudriere. However, I am trying
> to use PORTS_MODULES in conjunction with my kernel upgrade process to
> generate ports-based kernel modules matching the new kernel, to avoid the
> "disable kmods/reboot/build ports/reenable kmods" dance.
> 
> It seems "make buildkernel" uses tool binaries from a prior "make buildworld".
> 
> Is it possible to, in a like manner, cause the ports built via PORTS_MODULES
> to install and use their dependencies in this same "world" staging tree
> (or in some alternate place) instead of directly in the host's file system?
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB5639BCAD24E0EA8A483D72C2FAC09>