From: Jason Stubbs Date: Wed, 21 Dec 2005 14:50:02 +0000 (-0000) Subject: Push portage to the top of the system and world lists when updating. X-Git-Tag: v2.1_pre2~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49954c04d1e809419fd32bcc29f6bb51b8efcae6;p=portage.git Push portage to the top of the system and world lists when updating. svn path=/main/trunk/; revision=2420 --- diff --git a/bin/emerge b/bin/emerge index e4f510976..41532406e 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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):