diff options
Diffstat (limited to 'meta/lib/bblayers/makesetup.py')
-rw-r--r-- | meta/lib/bblayers/makesetup.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/bblayers/makesetup.py b/meta/lib/bblayers/makesetup.py index 48dc73c288..4199b5f069 100644 --- a/meta/lib/bblayers/makesetup.py +++ b/meta/lib/bblayers/makesetup.py | |||
@@ -63,10 +63,6 @@ class MakeSetupPlugin(LayerPlugin): | |||
63 | 'describe':oe.buildcfg.get_metadata_git_describe(repo_path)}} | 63 | 'describe':oe.buildcfg.get_metadata_git_describe(repo_path)}} |
64 | if repo_path == destdir_repo: | 64 | if repo_path == destdir_repo: |
65 | repos[repo_path]['contains_this_file'] = True | 65 | repos[repo_path]['contains_this_file'] = True |
66 | if not repos[repo_path]['git-remote']['remotes'] and not repos[repo_path]['contains_this_file']: | ||
67 | e = "Layer repository in {path} does not have any remotes configured. Please add at least one with 'git remote add'.".format(path=repo_path) | ||
68 | logger.error(e) | ||
69 | raise Exception(e) | ||
70 | 66 | ||
71 | top_path = os.path.commonpath([os.path.dirname(r) for r in repos.keys()]) | 67 | top_path = os.path.commonpath([os.path.dirname(r) for r in repos.keys()]) |
72 | 68 | ||