diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-09-21 20:35:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-21 21:59:14 +0100 |
commit | ed8d6f391c567048bd50dc3234804915f8212cef (patch) | |
tree | ee96b4b37a37e6464decdcbc0ee9a0544534300e /scripts/runqemu | |
parent | 2c569678566c49b3ea237ef2de0fbae782263449 (diff) | |
download | openembedded-core-contrib-ed8d6f391c567048bd50dc3234804915f8212cef.tar.gz |
runqemu: don't fail during check_arg_machine()
If DEPLOY_DIR_IMAGE doesn't exist during check_arg_machine() we
will attempt to guess a suitable value later when check_and_set()
calls validate_paths(), therefore this shouldn't raise an exception
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index e8360c2af1c..658f7c8abd8 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -332,7 +332,7 @@ class BaseConfig(object): self.set_machine_deploy_dir(arg, deploy_dir_image) else: logger.error("%s not a directory valid DEPLOY_DIR_IMAGE" % deploy_dir_image) - raise Exception("Failed to set MACHINE to %s. Unknown arg: %s" % (arg, arg)) + self.set("MACHINE", arg) def check_args(self): unknown_arg = "" |