From 8b2111ee1e455f8e3feb73d5417a0f311956ff47 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Sep 2010 00:53:28 -0700 Subject: 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. --- bin/repoman | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/repoman') 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( -- cgit v1.2.3-1-g7c22