summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 3e4e3ff8e2..4050dccfbe 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -557,7 +557,8 @@ class BaseConfig(object):
557 elif os.getenv('DEPLOY_DIR_IMAGE'): 557 elif os.getenv('DEPLOY_DIR_IMAGE'):
558 deploy_dir_image = os.getenv('DEPLOY_DIR_IMAGE') 558 deploy_dir_image = os.getenv('DEPLOY_DIR_IMAGE')
559 else: 559 else:
560 raise OEPathError("DEPLOY_DIR_IMAGE is NULL!") 560 logger.info("Can't find qemuboot conf file, DEPLOY_DIR_IMAGE is NULL!")
561 return
561 562
562 if self.rootfs and not os.path.exists(self.rootfs): 563 if self.rootfs and not os.path.exists(self.rootfs):
563 # Lazy rootfs 564 # Lazy rootfs
@@ -574,6 +575,11 @@ class BaseConfig(object):
574 self.qemuboot = qbs.split()[0] 575 self.qemuboot = qbs.split()[0]
575 self.qbconfload = True 576 self.qbconfload = True
576 577
578 if not self.qemuboot:
579 # If we haven't found a .qemuboot.conf at this point it probably
580 # doesn't exist, continue without
581 return
582
577 if not os.path.exists(self.qemuboot): 583 if not os.path.exists(self.qemuboot):
578 raise Exception("Failed to find <image>.qemuboot.conf!") 584 raise Exception("Failed to find <image>.qemuboot.conf!")
579 585