diff options
Diffstat (limited to 'meta/lib/bblayers/makesetup.py')
-rw-r--r-- | meta/lib/bblayers/makesetup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/bblayers/makesetup.py b/meta/lib/bblayers/makesetup.py index bef6da0ea8..22f89d81a4 100644 --- a/meta/lib/bblayers/makesetup.py +++ b/meta/lib/bblayers/makesetup.py | |||
@@ -64,13 +64,12 @@ class MakeSetupPlugin(LayerPlugin): | |||
64 | return | 64 | return |
65 | repo_path = self._get_repo_path(l_path) | 65 | repo_path = self._get_repo_path(l_path) |
66 | if repo_path not in repos.keys(): | 66 | if repo_path not in repos.keys(): |
67 | repos[repo_path] = {'path':os.path.basename(repo_path),'layers':{},'git-remote':{'rev':l_rev, 'branch':l_branch, 'remotes':self._get_remotes(repo_path), 'describe':self._get_describe(repo_path)}} | 67 | repos[repo_path] = {'path':os.path.basename(repo_path),'git-remote':{'rev':l_rev, 'branch':l_branch, 'remotes':self._get_remotes(repo_path), 'describe':self._get_describe(repo_path)}} |
68 | if repo_path == destdir_repo: | 68 | if repo_path == destdir_repo: |
69 | repos[repo_path]['contains_this_file'] = True | 69 | repos[repo_path]['contains_this_file'] = True |
70 | if not repos[repo_path]['git-remote']['remotes'] and not repos[repo_path]['contains_this_file']: | 70 | if not repos[repo_path]['git-remote']['remotes'] and not repos[repo_path]['contains_this_file']: |
71 | logger.error("Layer repository in {path} does not have any remotes configured. Please add at least one with 'git remote add'.".format(path=repo_path)) | 71 | logger.error("Layer repository in {path} does not have any remotes configured. Please add at least one with 'git remote add'.".format(path=repo_path)) |
72 | return | 72 | return |
73 | repos[repo_path]['layers'][l_name] = {'subpath':l_path.replace(repo_path,'')[1:]} | ||
74 | 73 | ||
75 | top_path = os.path.commonpath([os.path.dirname(r) for r in repos.keys()]) | 74 | top_path = os.path.commonpath([os.path.dirname(r) for r in repos.keys()]) |
76 | 75 | ||