commit:     9a68fea06890542d4c82a8ddf2e22ca44cd50a2e
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 17:40:44 2016 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 17:40:44 2016 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=9a68fea0

support portage 2.2.27

 patches/portage.patch | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/patches/portage.patch b/patches/portage.patch
index bbf8720..6f2d17f 100644
--- a/patches/portage.patch
+++ b/patches/portage.patch
@@ -44,7 +44,7 @@
  
        if '--usepkgonly' not in myopts:
                old_tree_timestamp_warn(settings['PORTDIR'], settings)
-@@ -312,16 +314,10 @@ def action_build(settings, trees, mtimed
+@@ -319,20 +319,14 @@ def action_build(settings, trees, mtimed
                        print(darkgreen("emerge: It seems we have nothing to 
resume..."))
                        return os.EX_OK
  
@@ -58,6 +58,10 @@
 +              success, settings, trees, mtimedb, mydepgraph = 
build_mydepgraph(settings,
 +                      trees, mtimedb, myopts, myparams, myaction, myfiles, 
spinner, build_dict, session)
  
+               if "--autounmask-only" in myopts:
+                       mydepgraph.display_problems()
+                       return 0
+ 
                if not success:
 -                      mydepgraph.display_problems()
                        return 1

Reply via email to