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/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/devtool/search.py') diff --git a/scripts/lib/devtool/search.py b/scripts/lib/devtool/search.py index c2f420c33c..1c8eaff49b 100644 --- a/scripts/lib/devtool/search.py +++ b/scripts/lib/devtool/search.py @@ -77,4 +77,4 @@ def register_commands(subparsers, context): parser_search = subparsers.add_parser('search', help='Search available recipes', description='Searches for available target recipes. Matches on recipe name, package name, description and installed files, and prints the recipe name on match.') parser_search.add_argument('keyword', help='Keyword to search for (regular expression syntax allowed)') - parser_search.set_defaults(func=search) + parser_search.set_defaults(func=search, no_workspace=True) -- cgit v1.2.3-54-g00ecf