don't install qemu when using --host-qemu

This commit is contained in:
raingloom 2018-09-01 13:14:52 +02:00
parent 6991c1351d
commit 3eb80a3e55
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,8 @@ def run(args):
arch = pmb.parse.arch.uname_to_qemu(args.arch)
device = pmb.parse.arch.qemu_to_pmos_device(arch)
img_path = system_image(args, device)
install_depends(args, arch)
if not args.host_qemu:
install_depends(args, arch)
logging.info("Running postmarketOS in QEMU VM (" + arch + ")")
# Get the Qemu and spice commands