Summary: | validate_ebuild_environment still checks / when ROOT is set. | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Justin Bronder (RETIRED) <jsbronder> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 137867 |
Description
Justin Bronder (RETIRED)
2010-06-15 19:30:17 UTC
It instantiates the config for ROOT=/ since DEPEND is installed to ROOT=/ (unless you use the --root-deps option). Even if you use the --root-deps option, it still instantiates the config for ROOT=/ in case it encounters an ebuild with EAPI 5-hdepend (this is explained in the --root-deps documentation in the emerge man page). I suppose we could lazily instantiate the config for ROOT=/ at the point where a a DEPEND needs to be satisfied (or HDEPEND for EAPI 5-hdepend). |