* [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
@ 2015-03-03 20:59 Zac Medico
2015-03-03 21:22 ` Brian Dolbec
0 siblings, 1 reply; 2+ messages in thread
From: Zac Medico @ 2015-03-03 20:59 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Zac Medico
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
2015-03-03 20:59 [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806) Zac Medico
@ 2015-03-03 21:22 ` Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
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 [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-03 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 20:59 [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806) Zac Medico
2015-03-03 21:22 ` Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox