diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-02 00:53:28 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-02 00:53:28 -0700 |
commit | 8b2111ee1e455f8e3feb73d5417a0f311956ff47 (patch) | |
tree | f25428835d7b67da7e8efe974c153ceb44ddcec4 | |
parent | 252fa9a50c264e9827c42c631291749ad62d0f4d (diff) | |
download | portage-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.
-rwxr-xr-x | bin/repoman | 4 |
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( |