Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 643920

Summary: sys-apps/portage: eliminate global portage.const.EPREFIX variable
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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.