Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177839 Details for
Bug 253968
gentoolkit: "equery list -p" fails if /usr/portage is a symbolic link
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portdir_symlink.patch
253968-fix_portdir_symlink.patch (text/plain), 989 bytes, created by
Paul Varner (RETIRED)
on 2009-01-09 04:23:49 UTC
(
hide
)
Description:
portdir_symlink.patch
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2009-01-09 04:23:49 UTC
Size:
989 bytes
patch
obsolete
>Index: package.py >=================================================================== >--- package.py (revision 536) >+++ package.py (working copy) >@@ -7,6 +7,7 @@ > # > # $Header$ > >+import os > from errors import FatalError > import portage > from gentoolkit import * >@@ -25,6 +26,9 @@ > self._db = None > self._settings = settings > self._settingslock = settingslock >+ self._portdir_path = settings["PORTDIR"] >+ if os.path.islink(self._portdir_path): >+ self._portdir_path = os.path.join(os.path.dirname(self._portdir_path), os.readlink(self._portdir_path)) > > def get_name(self): > """Returns base name of package, no category nor version""" >@@ -151,7 +155,7 @@ > def is_overlay(self): > """Returns true if the package is in an overlay.""" > dir,ovl = portage.portdb.findname2(self._cpv) >- return ovl != settings["PORTDIR"] >+ return ovl != self._portdir_path > > def is_masked(self): > """Returns true if this package is masked against installation. Note: We blindly assume that
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 253968
:
177839
|
177841