1 |
On Thu, 22 Oct 2015 18:36:03 -0700 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
|
4 |
> This makes it possible to sync repositories inside $ROOT. |
5 |
> |
6 |
> X-Gentoo-Bug: 563836 |
7 |
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=563836 |
8 |
> --- |
9 |
> pym/portage/repository/config.py | 7 ++++++- |
10 |
> 1 file changed, 6 insertions(+), 1 deletion(-) |
11 |
> |
12 |
> diff --git a/pym/portage/repository/config.py |
13 |
> b/pym/portage/repository/config.py index a90a994..1060bc7 100644 |
14 |
> --- a/pym/portage/repository/config.py |
15 |
> +++ b/pym/portage/repository/config.py |
16 |
> @@ -620,7 +620,12 @@ class RepoConfigLoader(object): |
17 |
> treemap = {} |
18 |
> ignored_map = {} |
19 |
> ignored_location_map = {} |
20 |
> - default_opts = {} |
21 |
> + default_opts = { |
22 |
> + "EPREFIX" : settings["EPREFIX"], |
23 |
> + "EROOT" : settings["EROOT"], |
24 |
> + "PORTAGE_CONFIGROOT" : |
25 |
> settings["PORTAGE_CONFIGROOT"], |
26 |
> + "ROOT" : settings["ROOT"], |
27 |
> + } |
28 |
> |
29 |
> if "PORTAGE_REPOSITORIES" in settings: |
30 |
> portdir = "" |
31 |
|
32 |
|
33 |
This looks good to me. |
34 |
-- |
35 |
Brian Dolbec <dolsen> |