diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 251f5f7e94..b696202871 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -693,8 +693,8 @@ class BaseConfig(object): | |||
693 | # artefacts are relative to that file, rather than in whatever | 693 | # artefacts are relative to that file, rather than in whatever |
694 | # directory DEPLOY_DIR_IMAGE in the conf file points to. | 694 | # directory DEPLOY_DIR_IMAGE in the conf file points to. |
695 | if self.qbconfload: | 695 | if self.qbconfload: |
696 | imgdir = os.path.dirname(self.qemuboot) | 696 | imgdir = os.path.realpath(os.path.dirname(self.qemuboot)) |
697 | if imgdir != self.get('DEPLOY_DIR_IMAGE'): | 697 | if imgdir != os.path.realpath(self.get('DEPLOY_DIR_IMAGE')): |
698 | logger.info('Setting DEPLOY_DIR_IMAGE to folder containing %s (%s)' % (self.qemuboot, imgdir)) | 698 | logger.info('Setting DEPLOY_DIR_IMAGE to folder containing %s (%s)' % (self.qemuboot, imgdir)) |
699 | self.set('DEPLOY_DIR_IMAGE', imgdir) | 699 | self.set('DEPLOY_DIR_IMAGE', imgdir) |
700 | 700 | ||