Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27973 Details for
Bug 45468
2.0.50-r2 tackles virtuals in reverse order
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for virtual ordering against 2.0.50-r2
2.0.50-r2-virtuals.patch (text/plain), 908 bytes, created by
Jason Stubbs (RETIRED)
on 2004-03-24 20:30:01 UTC
(
hide
)
Description:
Fix for virtual ordering against 2.0.50-r2
Filename:
MIME Type:
Creator:
Jason Stubbs (RETIRED)
Created:
2004-03-24 20:30:01 UTC
Size:
908 bytes
patch
obsolete
>--- portage.py-orig 2004-03-25 12:49:06.000000000 +0900 >+++ portage.py 2004-03-25 13:02:08.190972928 +0900 >@@ -809,7 +809,7 @@ > del final_dict[y][final_dict[y].index(thing[1:])] > else: > if thing not in final_dict[y]: >- final_dict[y].insert(0,thing) >+ final_dict[y].append(thing) > elif (stuff == None): > if all_must_exist: > return None >@@ -1530,12 +1530,13 @@ > # from. So the only ROOT prefixed dir should be local configs. > #myvirtdirs = prefix_array(self.profiles,myroot+"/") > myvirtdirs = copy.deepcopy(self.profiles) >+ myvirtdirs.reverse() > > # repoman doesn't need local virtuals. > if os.environ.has_key("PORTAGE_CALLER") and os.environ["PORTAGE_CALLER"] == "repoman": > pass > else: >- myvirtdirs.append(myroot+"/var/cache/edb") >+ myvirtdirs.insert(0,myroot+"/var/cache/edb") > > return grab_stacked("virtuals",myvirtdirs,grabdict) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45468
: 27973