diff options
Diffstat (limited to 'meta/lib/bblayers/setupwriters/oe-setup-layers.py')
-rw-r--r-- | meta/lib/bblayers/setupwriters/oe-setup-layers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/bblayers/setupwriters/oe-setup-layers.py b/meta/lib/bblayers/setupwriters/oe-setup-layers.py index f6a484b766..d5bc19a8cb 100644 --- a/meta/lib/bblayers/setupwriters/oe-setup-layers.py +++ b/meta/lib/bblayers/setupwriters/oe-setup-layers.py | |||
@@ -33,6 +33,8 @@ class OeSetupLayersWriter(): | |||
33 | 33 | ||
34 | def do_write(self, parent, args): | 34 | def do_write(self, parent, args): |
35 | """ Writes out a python script and a json config that replicate the directory structure and revisions of the layers in a current build. """ | 35 | """ Writes out a python script and a json config that replicate the directory structure and revisions of the layers in a current build. """ |
36 | if not os.path.exists(args.destdir): | ||
37 | os.makedirs(args.destdir) | ||
36 | repos = parent.make_repo_config(args.destdir) | 38 | repos = parent.make_repo_config(args.destdir) |
37 | json = {"version":"1.0","sources":repos} | 39 | json = {"version":"1.0","sources":repos} |
38 | if not repos: | 40 | if not repos: |