commit: 585be4917f6d0381e4654bfb1b90d03005710467
Author: Bertrand Simonnet <bsimonnet <AT> chromium <DOT> org>
AuthorDate: Fri Sep 5 12:40:02 2014 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu May 21 04:09:28 2015 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=585be491
config: skip missing profiles/repo_name warning when using layout.conf:repo-name
The repo name is considered missing if there is no explicit "repo_name"
file. But if it's set in layout.conf via repo-name, we can skip that.
Otherwise we end up with copy & paste spew.
pym/portage/repository/config.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 05eedbe..b7c969d 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -253,6 +253,7 @@ class RepoConfig(object):
# useful when having two copies of the same
repo enabled
# to avoid modifying profiles/repo_name in one
of them
self.name = layout_data['repo-name']
+ self.missing_repo_name = False
for value in ('allow-missing-manifest',
'allow-provide-virtual', 'cache-formats',