[OE-core] [PATCH 3/4] runqemu: check for qemuboot.conf and raise error

Robert Yang liezhi.yang at windriver.com
Fri Feb 2 03:23:26 UTC 2018


[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")
+
             if arg in self.fstypes + self.vmtypes:
                 self.check_arg_fstype(arg)
             elif arg == 'nographic':
-- 
2.7.4




More information about the Openembedded-core mailing list