Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20215 Details for
Bug 31148
Unmerging kernel not removing virtual & giving error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for portage.py
bugs.31148.patch (text/plain), 1.34 KB, created by
Masatomo Nakano (RETIRED)
on 2003-11-03 18:28:21 UTC
(
hide
)
Description:
Patch for portage.py
Filename:
MIME Type:
Creator:
Masatomo Nakano (RETIRED)
Created:
2003-11-03 18:28:21 UTC
Size:
1.34 KB
patch
obsolete
>--- portage.py.org 2003-11-03 19:28:09.000000000 +0000 >+++ portage.py 2003-11-04 02:12:17.000000000 +0000 >@@ -4712,13 +4712,15 @@ > for myvirt in myvirts.keys(): > newvirts[myvirt]=[] > for mykey in myvirts[myvirt]: >- if mykey == self.cat+"/"+pkgsplit(self.pkg)[0]: >- if myprovides.has_key(myvirt) and \ >- (self.cat+"/"+self.pkg in myprovides[myvirt]) and \ >- (len(myprovides[myvirt]) > 1): >- if mykey not in newvirts[myvirt]: >- newvirts[myvirt].append(mykey) >- writemsg("--- Leaving virtual '"+mykey+"' from '"+myvirt+"'\n") >+ if mykey == self.cat+"/"+pkgsplit(self.pkg)[0] and myprovides[myvirt].count(self.cat+"/"+self.pkg)>0: >+ # remove myself first >+ myprovides[myvirt].remove(self.cat+"/"+self.pkg) >+ for x in myprovides[myvirt]: >+ if pkgsplit(x)[0]==mykey: >+ if mykey not in newvirts[myvirt]: >+ newvirts[myvirt].append(mykey) >+ writemsg("--- Leaving virtual '"+mykey+"' from '"+myvirt+"'\n") >+ break > else: > writemsg("<<< Removing virtual '"+mykey+"' from '"+myvirt+"'\n") > else: >@@ -4726,6 +4728,8 @@ > newvirts[myvirt].append(mykey) > if newvirts[myvirt]==[]: > del newvirts[myvirt] >+ writemsg("<<< Removing virtual '"+mykey+"\n") >+ > writedict(newvirts,self.myroot+"var/cache/edb/virtuals") > > #do original postrm
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 31148
:
20215
|
20216