1 |
commit: a6daeb01acd1425c198b0420374f8f0c2d3a05c4 |
2 |
Author: Felix Neumärker <xdch47 <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Aug 3 16:33:13 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 3 17:36:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a6daeb01 |
7 |
|
8 |
ebuild: apply_priorities (PORTAGE_NICENESS) |
9 |
|
10 |
Respect PORTAGE_NICENESS variable. |
11 |
|
12 |
Closes: https://github.com/gentoo/portage/pull/441 |
13 |
Signed-off-by: Felix Neumärker <xdch47 <AT> posteo.de> |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
bin/ebuild | 3 +++ |
17 |
1 file changed, 3 insertions(+) |
18 |
|
19 |
diff --git a/bin/ebuild b/bin/ebuild |
20 |
index 8b58988c4..baa842570 100755 |
21 |
--- a/bin/ebuild |
22 |
+++ b/bin/ebuild |
23 |
@@ -56,6 +56,7 @@ from portage.exception import PermissionDenied, PortageKeyError, \ |
24 |
from portage.localization import _ |
25 |
import portage.util |
26 |
from portage.util._eventloop.global_event_loop import global_event_loop |
27 |
+from _emerge.actions import apply_priorities |
28 |
from _emerge.Package import Package |
29 |
from _emerge.RootConfig import RootConfig |
30 |
|
31 |
@@ -126,6 +127,8 @@ if not opts.color == 'y' and \ |
32 |
portage.settings.backup_changes('NOCOLOR') |
33 |
portage.settings.lock() |
34 |
|
35 |
+apply_priorities(portage.settings) |
36 |
+ |
37 |
ebuild = pargs.pop(0) |
38 |
|
39 |
pf = None |