forked from Mirror/pmbootstrap
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:
parent
cb1f68817f
commit
320b2faa4c
7 changed files with 2 additions and 58 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue