diff options
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index fee6b25b97..61a7f1820a 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -1042,7 +1042,7 @@ to your build configuration. | |||
| 1042 | cmd = ('runqemu-extract-sdk', src, dest) | 1042 | cmd = ('runqemu-extract-sdk', src, dest) |
| 1043 | logger.info('Running %s...' % str(cmd)) | 1043 | logger.info('Running %s...' % str(cmd)) |
| 1044 | if subprocess.call(cmd) != 0: | 1044 | if subprocess.call(cmd) != 0: |
| 1045 | raise RunQemuError('Failed to run %s' % cmd) | 1045 | raise RunQemuError('Failed to run %s' % str(cmd)) |
| 1046 | self.rootfs = dest | 1046 | self.rootfs = dest |
| 1047 | self.cleanup_files.append(self.rootfs) | 1047 | self.cleanup_files.append(self.rootfs) |
| 1048 | self.cleanup_files.append('%s.pseudo_state' % self.rootfs) | 1048 | self.cleanup_files.append('%s.pseudo_state' % self.rootfs) |
| @@ -1051,7 +1051,7 @@ to your build configuration. | |||
| 1051 | cmd = ('runqemu-export-rootfs', 'start', self.rootfs) | 1051 | cmd = ('runqemu-export-rootfs', 'start', self.rootfs) |
| 1052 | logger.info('Running %s...' % str(cmd)) | 1052 | logger.info('Running %s...' % str(cmd)) |
| 1053 | if subprocess.call(cmd) != 0: | 1053 | if subprocess.call(cmd) != 0: |
| 1054 | raise RunQemuError('Failed to run %s' % cmd) | 1054 | raise RunQemuError('Failed to run %s' % str(cmd)) |
| 1055 | 1055 | ||
| 1056 | self.nfs_running = True | 1056 | self.nfs_running = True |
| 1057 | 1057 | ||
| @@ -1060,7 +1060,7 @@ to your build configuration. | |||
| 1060 | if cmd != '': | 1060 | if cmd != '': |
| 1061 | logger.info('Running setup command %s' % str(cmd)) | 1061 | logger.info('Running setup command %s' % str(cmd)) |
| 1062 | if subprocess.call(cmd, shell=True) != 0: | 1062 | if subprocess.call(cmd, shell=True) != 0: |
| 1063 | raise RunQemuError('Failed to run %s' % cmd) | 1063 | raise RunQemuError('Failed to run %s' % str(cmd)) |
| 1064 | 1064 | ||
| 1065 | def setup_net_bridge(self): | 1065 | def setup_net_bridge(self): |
| 1066 | self.set('NETWORK_CMD', '-netdev bridge,br=%s,id=net0,helper=%s -device virtio-net-pci,netdev=net0 ' % ( | 1066 | self.set('NETWORK_CMD', '-netdev bridge,br=%s,id=net0,helper=%s -device virtio-net-pci,netdev=net0 ' % ( |
| @@ -1554,7 +1554,7 @@ to your build configuration. | |||
| 1554 | if cmd != '': | 1554 | if cmd != '': |
| 1555 | logger.info('Running cleanup command %s' % str(cmd)) | 1555 | logger.info('Running cleanup command %s' % str(cmd)) |
| 1556 | if subprocess.call(cmd, shell=True) != 0: | 1556 | if subprocess.call(cmd, shell=True) != 0: |
| 1557 | raise RunQemuError('Failed to run %s' % cmd) | 1557 | raise RunQemuError('Failed to run %s' % str(cmd)) |
| 1558 | 1558 | ||
| 1559 | def cleanup(self): | 1559 | def cleanup(self): |
| 1560 | if self.cleaned: | 1560 | if self.cleaned: |
| @@ -1663,7 +1663,7 @@ to your build configuration. | |||
| 1663 | return result | 1663 | return result |
| 1664 | raise RunQemuError("Native sysroot directory %s doesn't exist" % result) | 1664 | raise RunQemuError("Native sysroot directory %s doesn't exist" % result) |
| 1665 | else: | 1665 | else: |
| 1666 | raise RunQemuError("Can't find STAGING_BINDIR_NATIVE in '%s' output" % cmd) | 1666 | raise RunQemuError("Can't find STAGING_BINDIR_NATIVE in '%s' output" % str(cmd)) |
| 1667 | 1667 | ||
| 1668 | 1668 | ||
| 1669 | def main(): | 1669 | def main(): |
