From: Chris Laplante <[email protected]>
Signed-off-by: Chris Laplante <[email protected]>
---
scripts/devtool | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/devtool b/scripts/devtool
index 1994d4b507..ebd3e4c11b 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -95,7 +95,7 @@ def read_workspace(basepath, context):
sys.exit(1)
else:
logger.info('Creating workspace layer in %s' %
context.config.workspace_path)
- _create_workspace(context.config.workspace_path, context.config,
basepath)
+ _create_workspace(context.config.workspace_path, basepath)
if not context.fixed_setup:
_enable_workspace_layer(context.config.workspace_path, context.config,
basepath)
@@ -134,7 +134,7 @@ def read_workspace(basepath, context):
return workspace
-def create_workspace(args, config, basepath, workspace):
+def create_workspace(args, config, basepath, _workspace):
if args.layerpath:
workspacedir = os.path.abspath(args.layerpath)
else:
@@ -142,11 +142,11 @@ def create_workspace(args, config, basepath, workspace):
layerseries = None
if args.layerseries:
layerseries = args.layerseries
- _create_workspace(workspacedir, config, basepath, layerseries)
+ _create_workspace(workspacedir, basepath, layerseries)
if not args.create_only:
_enable_workspace_layer(workspacedir, config, basepath)
-def _create_workspace(workspacedir, config, basepath, layerseries=None):
+def _create_workspace(workspacedir, basepath, layerseries=None):
import bb.utils
confdir = os.path.join(workspacedir, 'conf')
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209696):
https://lists.openembedded.org/g/openembedded-core/message/209696
Mute This Topic: https://lists.openembedded.org/mt/110569681/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-