From: Zac Medico Date: Sun, 2 Jul 2006 07:43:10 +0000 (-0000) Subject: Add overlay support for use.local.desc in repoman. X-Git-Tag: v2.1.1~301 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c1cabff05ed57d7635204813529a43425b5de09;p=portage.git Add overlay support for use.local.desc in repoman. svn path=/main/trunk/; revision=3750 --- 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: