From bbb0932fda3d02648cc99596eef004d9f1025c4d Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Fri, 19 Jan 2018 11:13:47 +0800 Subject: runqemu: check for qemuboot.conf and raise error [YOCTO #12503] Signed-off-by: Robert Yang --- scripts/runqemu | 3 +++ 1 file changed, 3 insertions(+) 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': -- cgit 1.2.3-korg