diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2025-01-12 09:53:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-20 13:38:59 +0000 |
commit | 8ce537f158d5abcd82ed125ee0d694fa595e3233 (patch) | |
tree | 3ba08e7f8de87d717cdb0e4b2348968e97f0ed09 /scripts | |
parent | b44cfce570af60ca716c3c53ea627745078a045b (diff) | |
download | poky-8ce537f158d5abcd82ed125ee0d694fa595e3233.tar.gz |
devtool: remove unused 'config' param from '_create_workspace' method
(From OE-Core rev: cc64a0c645338b5b2a5955951570e47c014f66ea)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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') |