pmb.run.qemu.install_depends: fix with v20.05 (MR 2009)
Don't try to install the recently split up packages if the pmaports
branch is based on Alpine 3.12.
Fixes: 61845c93
("pmb.run.qemu.install_depends: add new depends (MR 2007)")
This commit is contained in:
parent
8e3196a42a
commit
6a4f012bf9
|
@ -246,6 +246,15 @@ def install_depends(args, arch):
|
||||||
"qemu-ui-opengl",
|
"qemu-ui-opengl",
|
||||||
"qemu-ui-sdl",
|
"qemu-ui-sdl",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# QEMU packaging isn't split up as much in 3.12
|
||||||
|
channel_cfg = pmb.config.pmaports.read_config_channel(args)
|
||||||
|
if channel_cfg["branch_aports"] == "3.12-stable":
|
||||||
|
depends.remove("qemu-hw-display-virtio-gpu")
|
||||||
|
depends.remove("qemu-hw-display-virtio-gpu-pci")
|
||||||
|
depends.remove("qemu-hw-display-virtio-vga")
|
||||||
|
depends.remove("qemu-ui-opengl")
|
||||||
|
|
||||||
pmb.chroot.apk.install(args, depends)
|
pmb.chroot.apk.install(args, depends)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue