diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/devtool | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/devtool b/scripts/devtool index d29faf0238..39cebec0d8 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -95,7 +95,7 @@ def read_workspace(basepath, context): | |||
95 | sys.exit(1) | 95 | sys.exit(1) |
96 | else: | 96 | else: |
97 | logger.info('Creating workspace layer in %s' % context.config.workspace_path) | 97 | logger.info('Creating workspace layer in %s' % context.config.workspace_path) |
98 | _create_workspace(context.config.workspace_path, context.config, basepath) | 98 | _create_workspace(context.config.workspace_path, basepath) |
99 | if not context.fixed_setup: | 99 | if not context.fixed_setup: |
100 | _enable_workspace_layer(context.config.workspace_path, context.config, basepath) | 100 | _enable_workspace_layer(context.config.workspace_path, context.config, basepath) |
101 | 101 | ||
@@ -134,7 +134,7 @@ def read_workspace(basepath, context): | |||
134 | 134 | ||
135 | return workspace | 135 | return workspace |
136 | 136 | ||
137 | def create_workspace(args, config, basepath, workspace): | 137 | def create_workspace(args, config, basepath, _workspace): |
138 | if args.layerpath: | 138 | if args.layerpath: |
139 | workspacedir = os.path.abspath(args.layerpath) | 139 | workspacedir = os.path.abspath(args.layerpath) |
140 | else: | 140 | else: |
@@ -142,11 +142,11 @@ def create_workspace(args, config, basepath, workspace): | |||
142 | layerseries = None | 142 | layerseries = None |
143 | if args.layerseries: | 143 | if args.layerseries: |
144 | layerseries = args.layerseries | 144 | layerseries = args.layerseries |
145 | _create_workspace(workspacedir, config, basepath, layerseries) | 145 | _create_workspace(workspacedir, basepath, layerseries) |
146 | if not args.create_only: | 146 | if not args.create_only: |
147 | _enable_workspace_layer(workspacedir, config, basepath) | 147 | _enable_workspace_layer(workspacedir, config, basepath) |
148 | 148 | ||
149 | def _create_workspace(workspacedir, config, basepath, layerseries=None): | 149 | def _create_workspace(workspacedir, basepath, layerseries=None): |
150 | import bb.utils | 150 | import bb.utils |
151 | 151 | ||
152 | confdir = os.path.join(workspacedir, 'conf') | 152 | confdir = os.path.join(workspacedir, 'conf') |