Make repoman disable FEATURES=unknown-features-warn for the profiles
authorZac Medico <zmedico@gentoo.org>
Thu, 2 Sep 2010 07:53:28 +0000 (00:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 2 Sep 2010 07:53:28 +0000 (00:53 -0700)
it's checking, since it's confusing if these warnings are displayed
without the user being told which profile they come from.

bin/repoman

index ddac878343f33ef36b9cfda97ceea9d7d2d966ba..92b01ec2ea3fe0ddda9c137bb17459ed2ea95a9d 100755 (executable)
@@ -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(