Skip to content

Instantly share code, notes, and snippets.

@kraj
Created September 7, 2015 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kraj/4eb4f3a6ae63866b191b to your computer and use it in GitHub Desktop.
Save kraj/4eb4f3a6ae63866b191b to your computer and use it in GitHub Desktop.
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -81,11 +81,11 @@ class QemuRunner:
raise SystemExit
def start(self, qemuparams = None):
- if self.display:
- os.environ["DISPLAY"] = self.display
- else:
- logger.error("To start qemu I need a X desktop, please set DISPLAY correctly (e.g. DISPLAY=:1)")
- return False
+# if self.display:
+# os.environ["DISPLAY"] = self.display
+# else:
+# logger.error("To start qemu I need a X desktop, please set DISPLAY correctly (e.g. DISPLAY=:1)")
+# return False
if not os.path.exists(self.rootfs):
logger.error("Invalid rootfs %s" % self.rootfs)
return False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment