aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-02 00:53:28 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-02 00:53:28 -0700
commit8b2111ee1e455f8e3feb73d5417a0f311956ff47 (patch)
treef25428835d7b67da7e8efe974c153ceb44ddcec4 /bin
parentAdjust EbuildIpcDaemon pickle read and write code in order to ensure (diff)
downloadportage-8b2111ee1e455f8e3feb73d5417a0f311956ff47.tar.gz
portage-8b2111ee1e455f8e3feb73d5417a0f311956ff47.tar.bz2
portage-8b2111ee1e455f8e3feb73d5417a0f311956ff47.zip
Make repoman disable FEATURES=unknown-features-warn for the profiles
it's checking, since it's confusing if these warnings are displayed without the user being told which profile they come from.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index ddac87834..92b01ec2e 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -583,6 +583,10 @@ logging.info('Setting paths:')
logging.info('PORTDIR = "' + portdir + '"')
logging.info('PORTDIR_OVERLAY = "%s"' % env['PORTDIR_OVERLAY'])
+# It's confusing if these warnings are displayed without the user
+# being told which profile they come from, so disable them.
+env['FEATURES'] = env.get('FEATURES', '') + ' -unknown-features-warn'
+
categories = []
for path in set([portdir, portdir_overlay]):
categories.extend(portage.util.grabfile(