diff options
-rw-r--r-- | meta/lib/bblayers/makesetup.py | 1 | ||||
-rw-r--r-- | meta/lib/bblayers/setupwriters/oe-setup-layers.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/bblayers/makesetup.py b/meta/lib/bblayers/makesetup.py index 8148b0d9ff..48dc73c288 100644 --- a/meta/lib/bblayers/makesetup.py +++ b/meta/lib/bblayers/makesetup.py | |||
@@ -76,6 +76,7 @@ class MakeSetupPlugin(LayerPlugin): | |||
76 | repos_nopaths[r_nopath] = repos[r] | 76 | repos_nopaths[r_nopath] = repos[r] |
77 | r_relpath = os.path.relpath(r, top_path) | 77 | r_relpath = os.path.relpath(r, top_path) |
78 | repos_nopaths[r_nopath]['path'] = r_relpath | 78 | repos_nopaths[r_nopath]['path'] = r_relpath |
79 | repos_nopaths[r_nopath]['originpath'] = r | ||
79 | return repos_nopaths | 80 | return repos_nopaths |
80 | 81 | ||
81 | def do_make_setup(self, args): | 82 | def do_make_setup(self, args): |
diff --git a/meta/lib/bblayers/setupwriters/oe-setup-layers.py b/meta/lib/bblayers/setupwriters/oe-setup-layers.py index 59ca968ff3..56c929471e 100644 --- a/meta/lib/bblayers/setupwriters/oe-setup-layers.py +++ b/meta/lib/bblayers/setupwriters/oe-setup-layers.py | |||
@@ -85,6 +85,8 @@ class OeSetupLayersWriter(): | |||
85 | if not os.path.exists(args.destdir): | 85 | if not os.path.exists(args.destdir): |
86 | os.makedirs(args.destdir) | 86 | os.makedirs(args.destdir) |
87 | repos = parent.make_repo_config(args.destdir) | 87 | repos = parent.make_repo_config(args.destdir) |
88 | for r in repos.values(): | ||
89 | del r['originpath'] | ||
88 | json = {"version":"1.0","sources":repos} | 90 | json = {"version":"1.0","sources":repos} |
89 | if not repos: | 91 | if not repos: |
90 | err = "Could not determine layer sources" | 92 | err = "Could not determine layer sources" |