summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-01-19 11:13:47 +0800
committerRobert Yang <liezhi.yang@windriver.com>2018-02-05 12:45:26 +0800
commitbbb0932fda3d02648cc99596eef004d9f1025c4d (patch)
treecf992f53b3c90882a6bbd38f8c59e10336357fcd
parentc0495b5fdfdf5428476c60aafe73cc69f267b8a8 (diff)
downloadopenembedded-core-contrib-bbb0932fda3d02648cc99596eef004d9f1025c4d.tar.gz
openembedded-core-contrib-bbb0932fda3d02648cc99596eef004d9f1025c4d.tar.bz2
openembedded-core-contrib-bbb0932fda3d02648cc99596eef004d9f1025c4d.zip
runqemu: check for qemuboot.conf and raise error
[YOCTO #12503] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 0ca62f4140..72a2618ba7 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 format is no longer supported, use a qemuboot.json file instead.")
+
if arg in self.fstypes + self.vmtypes:
self.check_arg_fstype(arg)
elif arg == 'nographic':