From 0fe742674e9a37e7b352065a1b524d37e5a41137 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 11 Oct 2015 16:13:18 +0100 Subject: devtool: disable creating workspace for extract and search subcommands For subcommands that don't actually involve the workspace, don't auto-create the workspace. (From OE-Core rev: 90cba7992bc1d227e242666cd486414bd4a45f7e) Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/devtool/standard.py') diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 9fd936f146..6de24eb524 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -1166,7 +1166,7 @@ def register_commands(subparsers, context): parser_extract.add_argument('srctree', help='Path to where to extract the source tree') parser_extract.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout') parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)') - parser_extract.set_defaults(func=extract) + parser_extract.set_defaults(func=extract, no_workspace=True) parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe', description='Synchronize the source for an existing recipe', -- cgit v1.2.3-54-g00ecf