Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731736 - emerge: an option to wipe PORTAGE_TMPDIR before emerge starts
Summary: emerge: an option to wipe PORTAGE_TMPDIR before emerge starts
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-08 13:44 UTC by Agostino Sarubbo
Modified: 2024-08-01 20:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-08 13:44:23 UTC
$summary

this can be useful to me in tinderbox work

Just FTR, if the option should do its job before emerge starts, then fine. If the option should do its job before do anything with each ebuild (so done multiple times when e.g. emerge is emerging 10 packages) it should not be compatible with -j
Comment 1 Zac Medico gentoo-dev 2020-07-08 19:21:41 UTC
We have FEATURES=fail-clean which is intended for a similar type of scenario. I guess you don't want to use FEATURES=fail-clean because you need to collect some information from PORTAGE_TMPDIR after a build failure?  If so, maybe you could automate that by using register_die_hook in /etc/portage/bashrc to register a function to do whatever it is that you need to do.