* Re: [gentoo-portage-dev] [PATCH] RepoConfigLoader: allow subsitution of variables like ROOT in repos.conf
@ 2015-10-28 13:28 99% ` Brian Dolbec
0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2015-10-28 13:28 UTC (permalink / raw
To: gentoo-portage-dev
On Thu, 22 Oct 2015 18:36:03 -0700
Zac Medico <zmedico@gentoo.org> wrote:
> This makes it possible to sync repositories inside $ROOT.
>
> X-Gentoo-Bug: 563836
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=563836
> ---
> pym/portage/repository/config.py | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/pym/portage/repository/config.py
> b/pym/portage/repository/config.py index a90a994..1060bc7 100644
> --- a/pym/portage/repository/config.py
> +++ b/pym/portage/repository/config.py
> @@ -620,7 +620,12 @@ class RepoConfigLoader(object):
> treemap = {}
> ignored_map = {}
> ignored_location_map = {}
> - default_opts = {}
> + default_opts = {
> + "EPREFIX" : settings["EPREFIX"],
> + "EROOT" : settings["EROOT"],
> + "PORTAGE_CONFIGROOT" :
> settings["PORTAGE_CONFIGROOT"],
> + "ROOT" : settings["ROOT"],
> + }
>
> if "PORTAGE_REPOSITORIES" in settings:
> portdir = ""
This looks good to me.
--
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-10-22 18:29 [gentoo-portage-dev] @sets and @profile does not work when ROOT=PORTAGE_CONFIGROOT=/my/new/root Joakim Tjernlund
2015-10-23 1:36 ` [gentoo-portage-dev] [PATCH] RepoConfigLoader: allow subsitution of variables like ROOT in repos.conf Zac Medico
2015-10-28 13:28 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