Push portage to the top of the system and world lists when updating.
authorJason Stubbs <jstubbs@gentoo.org>
Wed, 21 Dec 2005 14:50:02 +0000 (14:50 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Wed, 21 Dec 2005 14:50:02 +0000 (14:50 -0000)
svn path=/main/trunk/; revision=2420

bin/emerge

index e4f5109761dce7eab3c1e85aa307a2029f2bf096..41532406e0ae8a1434a71479eb9be6684630f497 100755 (executable)
@@ -1418,6 +1418,14 @@ class depgraph:
 
                        mylist = sysdict.keys()
 
+               newlist = []
+               for atom in mylist:
+                       if portage.dep_getkey(atom).split("/")[-1] == "portage":
+                               newlist.insert(0, atom)
+                       else:
+                               newlist.append(atom)
+               mylist = newlist
+               
                for mydep in mylist:
                        try:
                                if not self.select_dep(portage.root, mydep, raise_on_missing=True):