mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 07:27:12 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a360fa7d51
commit
0fe742674e
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user