qemu: run: Invoke the correct qemu command (MR 2476)

pmbootstrap qemu did not respect architecture-specfic QEMU command name
mappings.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
Jens Reidel 2024-10-07 02:34:30 +02:00
parent 13d8154373
commit 1e3e41907f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -205,7 +205,7 @@ def command_qemu(
]
)
]
command += [chroot_native / "usr/bin" / f"qemu-system-{arch}"]
command += [chroot_native / "usr/bin" / f"qemu-system-{arch.qemu()}"]
command += ["-L", chroot_native / "usr/share/qemu/"]
command += ["-nodefaults"]