diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-11 16:13:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:03 +0000 |
commit | 0fe742674e9a37e7b352065a1b524d37e5a41137 (patch) | |
tree | bfaeb9311380e3598fe9a1b083b3d44a67a6c1fb /scripts/lib/devtool/standard.py | |
parent | a360fa7d519320faf53065ba9584a426fd275c1a (diff) | |
download | poky-0fe742674e9a37e7b352065a1b524d37e5a41137.tar.gz |
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 <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
1166 | parser_extract.add_argument('srctree', help='Path to where to extract the source tree') | 1166 | parser_extract.add_argument('srctree', help='Path to where to extract the source tree') |
1167 | parser_extract.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout') | 1167 | parser_extract.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout') |
1168 | parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)') | 1168 | parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)') |
1169 | parser_extract.set_defaults(func=extract) | 1169 | parser_extract.set_defaults(func=extract, no_workspace=True) |
1170 | 1170 | ||
1171 | parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe', | 1171 | parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe', |
1172 | description='Synchronize the source for an existing recipe', | 1172 | description='Synchronize the source for an existing recipe', |