summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py2
-rw-r--r--pym/portage/__init__.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 25c82323e..c87665ed2 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2596,7 +2596,7 @@ def load_emerge_config(trees=None):
mtimedbfile = os.path.join("/", portage.CACHE_PATH.lstrip(os.path.sep), "mtimedb")
mtimedb = portage.MtimeDB(mtimedbfile)
-
+ portage.output._init(config_root=settings['PORTAGE_CONFIGROOT'])
return settings, trees, mtimedb
def chk_updated_cfg_files(target_root, config_protect):
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 7d70ecd9e..50e966644 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -8805,6 +8805,7 @@ def init_legacy_globals():
break
root = settings["ROOT"]
+ output._init(config_root=settings['PORTAGE_CONFIGROOT'])
# ========================================================================