* Re: [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
@ 2015-03-03 21:22 99% ` Brian Dolbec
0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2015-03-03 21:22 UTC (permalink / raw
To: gentoo-portage-dev
On Tue, 3 Mar 2015 12:59:55 -0800
Zac Medico <zmedico@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>
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-03-03 20:59 [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806) Zac Medico
2015-03-03 21:22 99% ` Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox