From: Zac Medico Date: Thu, 2 Sep 2010 07:53:28 +0000 (-0700) Subject: Make repoman disable FEATURES=unknown-features-warn for the profiles X-Git-Tag: v2.2_rc74~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b2111ee1e455f8e3feb73d5417a0f311956ff47;p=portage.git 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. --- 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(