diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lib/wic/plugins/source/otaimage.py | 2 | ||||
| -rw-r--r-- | scripts/qemucommand.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/otaimage.py b/scripts/lib/wic/plugins/source/otaimage.py index 26cfb10..ee8088b 100644 --- a/scripts/lib/wic/plugins/source/otaimage.py +++ b/scripts/lib/wic/plugins/source/otaimage.py | |||
| @@ -20,7 +20,7 @@ import os | |||
| 20 | import sys | 20 | import sys |
| 21 | 21 | ||
| 22 | from wic.plugins.source.rawcopy import RawCopyPlugin | 22 | from wic.plugins.source.rawcopy import RawCopyPlugin |
| 23 | from wic.utils.misc import get_bitbake_var | 23 | from wic.misc import get_bitbake_var |
| 24 | 24 | ||
| 25 | logger = logging.getLogger('wic') | 25 | logger = logging.getLogger('wic') |
| 26 | 26 | ||
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index 9a893d8..6b1106d 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
| @@ -73,7 +73,7 @@ class QemuCommand(object): | |||
| 73 | try: | 73 | try: |
| 74 | check_output(['kvm-ok']) | 74 | check_output(['kvm-ok']) |
| 75 | self.kvm = True | 75 | self.kvm = True |
| 76 | except CalledProcessError: | 76 | except Exception: |
| 77 | self.kvm = False | 77 | self.kvm = False |
| 78 | else: | 78 | else: |
| 79 | self.kvm = args.kvm | 79 | self.kvm = args.kvm |
| @@ -96,7 +96,7 @@ class QemuCommand(object): | |||
| 96 | "-serial", "tcp:127.0.0.1:%d,server,nowait" % self.serial_port, | 96 | "-serial", "tcp:127.0.0.1:%d,server,nowait" % self.serial_port, |
| 97 | "-m", "1G", | 97 | "-m", "1G", |
| 98 | "-usb", | 98 | "-usb", |
| 99 | "-usbdevice", "tablet", | 99 | "-device", "usb-tablet", |
| 100 | "-show-cursor", | 100 | "-show-cursor", |
| 101 | "-vga", "std", | 101 | "-vga", "std", |
| 102 | "-net", netuser, | 102 | "-net", netuser, |
