Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643920 - sys-apps/portage: eliminate global portage.const.EPREFIX variable
Summary: sys-apps/portage: eliminate global portage.const.EPREFIX variable
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2018-01-08 18:37 UTC by Zac Medico
Modified: 2018-01-08 18:37 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2018-01-08 18:37:32 UTC
Currently it's not possible to override portage.const.EPREFIX except by using the PORTAGE_OVERRIDE_EPREFIX variable, so API consumers are effectively constrained to a single value.

It would be better if there was possible to simultaneously create multiple configurations with different EPREFIX settings. For example, in the unit tests, ResolverPlayground could use this instead of having to modify the global portage.const.EPREFIX variable.