1 |
commit: f7cdc96239e36ff6012b8e06f5666ed3f675d3eb |
2 |
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 26 12:54:14 2012 +0000 |
4 |
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 12:54:14 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f7cdc962 |
7 |
|
8 |
main.py: Move multilib behind force-multilib FEATURE, extend error message |
9 |
|
10 |
--- |
11 |
pym/_emerge/main.py | 11 +++++++---- |
12 |
1 files changed, 7 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py |
15 |
index 6f2f1d7..a1c44ea 100644 |
16 |
--- a/pym/_emerge/main.py |
17 |
+++ b/pym/_emerge/main.py |
18 |
@@ -1653,10 +1653,13 @@ def emerge_main(args=None): |
19 |
adjust_configs(myopts, trees) |
20 |
apply_priorities(settings) |
21 |
|
22 |
- if settings.get("NO_AUTO_FLAG", "") is "": |
23 |
- writemsg_level(bad("!!! Failed to find vars from extra profile") + "\n",level=logging.ERROR, noiselevel=-1) |
24 |
- writemsg_level(bad("!!! Please make sure that you did follow the instructions and included the extra profile\n"),level=logging.ERROR, noiselevel=-1) |
25 |
- return 1 |
26 |
+ if 'force-multilib' in settings.get("FEATURES", ""): |
27 |
+ if settings.get("NO_AUTO_FLAG", "") is "": |
28 |
+ writemsg_level(bad("!!! Failed to find vars from extra profile") + "\n",level=logging.ERROR, noiselevel=-1) |
29 |
+ writemsg_level(bad("!!! Please make sure that you did follow the instructions and included the extra profile\n"),level=logging.ERROR, noiselevel=-1) |
30 |
+ writemsg_level(bad("!!! http://git.overlays.gentoo.org/gitweb/?p=proj/multilib-portage.git;a=blob;f=doc/portage-multilib-instructions\n"),level=logging.ERROR, noiselevel=-1) |
31 |
+ writemsg_level(bad("!!! has some basic instructions for the setup\n"),level=logging.ERROR, noiselevel=-1) |
32 |
+ return 1 |
33 |
|
34 |
if myaction == 'version': |
35 |
writemsg_stdout(getportageversion( |