1 |
commit: 99edcc9df73315a8effc60cf210f958f7a118886 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 28 09:23:06 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 28 09:23:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=99edcc9d |
7 |
|
8 |
PackagePhase: fix PKG_INSTALL_MASK prefix support |
9 |
|
10 |
Fixes: 3416876c0ee7 ("{,PKG_}INSTALL_MASK: python implementation") |
11 |
|
12 |
pym/_emerge/PackagePhase.py | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/pym/_emerge/PackagePhase.py b/pym/_emerge/PackagePhase.py |
16 |
index 859f254be..107e2ca36 100644 |
17 |
--- a/pym/_emerge/PackagePhase.py |
18 |
+++ b/pym/_emerge/PackagePhase.py |
19 |
@@ -55,7 +55,9 @@ class PackagePhase(CompositeTask): |
20 |
else: |
21 |
self._start_task(AsyncFunction( |
22 |
target=install_mask_dir, |
23 |
- args=(self._proot, self._pkg_install_mask)), |
24 |
+ args=(os.path.join(self._proot, |
25 |
+ self.settings['EPREFIX'].lstrip(os.sep)), |
26 |
+ self._pkg_install_mask)), |
27 |
self._pkg_install_mask_exit) |
28 |
|
29 |
def _pkg_install_mask_exit(self, proc): |