pmb.qemu: remove QEMU mesa driver setup question (!1886)

mesa-dri-swrast and mesa-dri-virtio are both provided by mesa-dri-gallium
now, so this option does not have much use anymore. With both selections,
exactly the same packages are installed.
This commit is contained in:
Minecrell 2020-03-05 21:52:28 +01:00 committed by Oliver Smith
parent cb1f68817f
commit 320b2faa4c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
7 changed files with 2 additions and 58 deletions

View file

@ -152,16 +152,3 @@ def qemu_to_pmos_device(arch):
raise ValueError("Can not map QEMU value '" + arch + "'"
" to the right postmarketOS device")
def qemu_check_device(device, arch):
"""
Check whether a device has a specific architecture.
Examples:
qemu_check_device("qemu-amd64", "x86_64") is True
qemu_check_device("qemu-vexpress", "armel") is True
qemu_check_device("qemu-vexpress", "aarch64") is False
"""
arch_qemu = uname_to_qemu(arch)
return device == qemu_to_pmos_device(arch_qemu)