diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/qemucommand.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index ed14d9b..a75ffb6 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | from os.path import exists, join, realpath | 1 | from os.path import exists, join, realpath, abspath |
| 2 | from os import listdir | 2 | from os import listdir |
| 3 | import random | 3 | import random |
| 4 | import socket | 4 | import socket |
| @@ -49,7 +49,7 @@ class QemuCommand(object): | |||
| 49 | if args.efi: | 49 | if args.efi: |
| 50 | self.bios = 'OVMF.fd' | 50 | self.bios = 'OVMF.fd' |
| 51 | else: | 51 | else: |
| 52 | uboot = join(args.dir, self.machine, 'u-boot-qemux86-64.rom') | 52 | uboot = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) |
| 53 | if not exists(uboot): | 53 | if not exists(uboot): |
| 54 | raise ValueError("U-Boot image %s does not exist" % uboot) | 54 | raise ValueError("U-Boot image %s does not exist" % uboot) |
| 55 | self.bios = uboot | 55 | self.bios = uboot |
