aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2022-08-05 00:45:01 +0200
committerSam James <sam@gentoo.org>2022-08-06 22:00:12 +0100
commit0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e (patch)
tree86dcd9e234a4fb1771cee894516a7fcf454e828e
parentScheduling policy switching (diff)
downloadportage-0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e.tar.gz
portage-0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e.tar.bz2
portage-0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e.zip
dispatch-conf: respect (E)ROOT
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/portage/pull/881 Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xbin/dispatch-conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index 9490197d3..e7634eab6 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -116,7 +116,7 @@ class dispatch:
perform_conf_update_session_hooks("pre-session")
- config_root = portage.settings["EPREFIX"] or os.sep
+ config_root = portage.settings["EROOT"]
self.options = portage.dispatch_conf.read_config(MANDATORY_OPTS)
if "log-file" in self.options: