summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-02 07:43:10 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-02 07:43:10 +0000
commit6c1cabff05ed57d7635204813529a43425b5de09 (patch)
tree404cc03e99168270f6ba9ab3f577c2e3676344b8
parent65a6d6ccc25668248154294c646fd4b56dfb45eb (diff)
downloadportage-6c1cabff05ed57d7635204813529a43425b5de09.tar.gz
portage-6c1cabff05ed57d7635204813529a43425b5de09.tar.bz2
portage-6c1cabff05ed57d7635204813529a43425b5de09.zip
Add overlay support for use.local.desc in repoman.
svn path=/main/trunk/; revision=3750
-rwxr-xr-xbin/repoman12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 3633582a4..51aaff442 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -553,6 +553,18 @@ except (IOError, OSError, ParseError), e:
print >> sys.stderr, str(e)
err("Couldn't read from use.local.desc")
+if portdir_overlay != portdir:
+ filename = os.path.join(portdir_overlay, "profiles", "use.local.desc")
+ if os.path.exists(filename):
+ try:
+ f = open(filename)
+ parse_use_local_desc(f, luselist)
+ f.close()
+ except (IOError, OSError, ParseError), e:
+ print >> sys.stderr, str(e)
+ err("Couldn't read from '%s'" % filename)
+ del filename
+
# setup a uselist from portage
uselist=[]
try: