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

2018-02-01 Thread Robert Yang
[YOCTO #12503]

Signed-off-by: Robert Yang 
---
 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

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2018-02-02 Thread Randy MacLeod

On 2018-02-01 10:23 PM, Robert Yang wrote:

[YOCTO #12503]

Signed-off-by: Robert Yang 
---
  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
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2018-02-04 Thread Robert Yang



On 02/02/2018 10:49 PM, Randy MacLeod wrote:

On 2018-02-01 10:23 PM, Robert Yang wrote:

[YOCTO #12503]

Signed-off-by: Robert Yang 
---
  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.



Thanks, updated in the repo.

// Robert




../Randy


  if arg in self.fstypes + self.vmtypes:
  self.check_arg_fstype(arg)
  elif arg == 'nographic':





--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core