Re: [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
On Tue, 3 Mar 2015 12:59:55 -0800 Zac Medico zmed...@gentoo.org wrote: This can be useful for making settings, such as PKGDIR, relative to PORTAGE_CONFIGROOT. X-Gentoo-Bug: 511806 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511806 --- pym/portage/package/ebuild/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 71fe4df..3c0018f 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -394,6 +394,7 @@ class config(object): # Allow make.globals to set default paths relative to ${EPREFIX}. expand_map[EPREFIX] = eprefix + expand_map[PORTAGE_CONFIGROOT] = config_root if portage._not_installed: make_globals_path = os.path.join(PORTAGE_BASE_PATH, cnf, make.globals) LGTM, merge please :) -- Brian Dolbec dolsen
[gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
This can be useful for making settings, such as PKGDIR, relative to PORTAGE_CONFIGROOT. X-Gentoo-Bug: 511806 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511806 --- pym/portage/package/ebuild/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 71fe4df..3c0018f 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -394,6 +394,7 @@ class config(object): # Allow make.globals to set default paths relative to ${EPREFIX}. expand_map[EPREFIX] = eprefix + expand_map[PORTAGE_CONFIGROOT] = config_root if portage._not_installed: make_globals_path = os.path.join(PORTAGE_BASE_PATH, cnf, make.globals) -- 2.0.5