1 |
commit: 0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e |
2 |
Author: Alfred Persson Forsberg <cat <AT> catcream <DOT> org> |
3 |
AuthorDate: Thu Aug 4 22:45:01 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 6 21:00:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0505c2e3 |
7 |
|
8 |
dispatch-conf: respect (E)ROOT |
9 |
|
10 |
Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org> |
11 |
Closes: https://github.com/gentoo/portage/pull/881 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
bin/dispatch-conf | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/bin/dispatch-conf b/bin/dispatch-conf |
18 |
index 9490197d3..e7634eab6 100755 |
19 |
--- a/bin/dispatch-conf |
20 |
+++ b/bin/dispatch-conf |
21 |
@@ -116,7 +116,7 @@ class dispatch: |
22 |
|
23 |
perform_conf_update_session_hooks("pre-session") |
24 |
|
25 |
- config_root = portage.settings["EPREFIX"] or os.sep |
26 |
+ config_root = portage.settings["EROOT"] |
27 |
self.options = portage.dispatch_conf.read_config(MANDATORY_OPTS) |
28 |
|
29 |
if "log-file" in self.options: |