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 = ""
-- 
2.4.9


Reply via email to