pmb.qemu.run.install_depends: adjust to mesa pkgs (!1865)

Adjust the mesa related packages installed for running in qemu, after
the mesa APKBUILD in Alpine was changed. Install mesa-va-gallium instead
of:
* mesa-dri-freedreno
* mesa-dri-swrast
* mesa-dri-virtio
* mesa-dri-vmwgfx

Fix error in pmbootstrap-qemu CI test:
ERROR: Could not find dependency 'mesa-dri-freedreno' in any aports folder or APKINDEX.

Related: 298e20d04f
This commit is contained in:
Oliver Smith 2020-01-26 20:41:01 +01:00
parent 44e887f11e
commit 4352096783
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
"""
Copyright 2020 Pablo Castellano
Copyright 2020 Pablo Castellano, Oliver Smith
This file is part of pmbootstrap.
@ -271,9 +271,8 @@ def install_depends(args, arch):
Install any necessary qemu dependencies in native chroot
"""
depends = ["qemu", "qemu-system-" + arch, "qemu-ui-sdl", "qemu-ui-gtk",
"mesa-gl", "mesa-egl", "mesa-dri-ati", "mesa-dri-freedreno",
"mesa-dri-intel", "mesa-dri-nouveau", "mesa-dri-swrast",
"mesa-dri-virtio", "mesa-dri-vmwgfx", "qemu-audio-alsa",
"mesa-gl", "mesa-egl", "mesa-dri-ati", "mesa-dri-intel",
"mesa-dri-nouveau", "mesa-va-gallium", "qemu-audio-alsa",
"qemu-audio-pa", "qemu-audio-sdl"]
if args.spice_port:
depends += ["virt-viewer", "font-noto"]