[OE-core] [PATCH 3/4] runqemu: check for qemuboot.conf and raise error
Randy MacLeod
randy.macleod at windriver.com
Fri Feb 2 14:49:01 UTC 2018
On 2018-02-01 10:23 PM, Robert Yang wrote:
> [YOCTO #12503]
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
> scripts/runqemu | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/runqemu b/scripts/runqemu
> index 0ca62f4..d50c6d1 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -417,6 +417,9 @@ class BaseConfig(object):
>
> unknown_arg = ""
> for arg in sys.argv[1:]:
> + if arg.endswith('.qemuboot.conf'):
> + raise RunQemuError("qemuboot.conf is not supported any more, use qemuboot.json to instead of it")
> +
better wording:
qemuboot.conf format is no longer supported, use a qemuboot.json file
instead.
../Randy
> if arg in self.fstypes + self.vmtypes:
> self.check_arg_fstype(arg)
> elif arg == 'nographic':
>
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
More information about the Openembedded-core
mailing list