Re: avoiding "install" for dependencies with PORTS_MODULES
- In reply to: G. Paul Ziemba: "avoiding "install" for dependencies with PORTS_MODULES"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 May 2022 21:20:51 UTC
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? >