On 25/2/25 18:23, n952162 wrote:
I have a secondĀ  question that's a follow up to that.

Does portage *remove* some files in /var/tmp/portage but retain others?

Yes. Successful merges are purged, otherwise you'd quickly run out of
disk space.

This is important to me because I want to use this system as a local binary server to other gentoo systems and because I want to retain the build environments.


See `man make.conf` - keyword "keepwork"[1]. It's a feature that does precisely that. It's really not recommended though. What sort of
workflow are you envisioning that would make this useful?

Things can go wrong using keepwork; the existing ebuild environment is
not sourced when reusing ${WORKDIR} (among other things) which I assume
is the intent here, and that can result in unpredictable behaviour.

Regards,

Matt

1: https://devmanual.gentoo.org/eclass-reference/make.conf/index.html


Reply via email to