Commit 155bf8a4 authored by Anton Midyukov's avatar Anton Midyukov

vmguest: create dri subtargets from x11

This is useful for images with wayland only.
parent be1eee53
......@@ -6,8 +6,10 @@ use/vmguest:
use/vmguest/bare: use/vmguest/vbox use/vmguest/kvm; @:
use/vmguest/base: use/vmguest/bare use/vmguest/vmware; @:
use/vmguest/complete: use/vmguest/base \
use/vmguest/vbox/x11 use/vmguest/vmware/x11 use/vmguest/kvm/x11; @:
use/vmguest/dri: use/vmguest/vbox/dri use/vmguest/vmware/dri \
use/vmguest/kvm/dri; @:
use/vmguest/complete: use/vmguest/vbox/x11 use/vmguest/vmware/x11 \
use/vmguest/kvm/x11; @:
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le riscv64,$(ARCH)))
# NB: only reasonable for X11-bearing images
......@@ -15,9 +17,11 @@ ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le riscv64,$(ARCH)))
use/vmguest/kvm: use/vmguest; @:
@$(call add,THE_PACKAGES,qemu-guest-agent)
use/vmguest/kvm/x11: use/vmguest/kvm
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl xorg-drv-spiceqxl)
use/vmguest/kvm/dri: use/vmguest
@$(call add,THE_PACKAGES,xorg-dri-virtio)
use/vmguest/kvm/x11: use/vmguest/kvm use/vmguest/kvm/dri
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl xorg-drv-spiceqxl)
else
use/vmguest/kvm use/vmguest/kvm/x11: ; @:
endif
......@@ -25,17 +29,22 @@ endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/vmguest/vbox: use/vmguest; @:
use/vmguest/vbox/x11: use/vmguest/vbox
use/vmguest/vbox/dri: use/vmguest
@$(call add,THE_KMODULES,drm)
@$(call add,THE_PACKAGES,virtualbox-guest-additions)
@$(call add,THE_PACKAGES,xorg-dri-vmwgfx)
use/vmguest/vbox/x11: use/vmguest/vbox use/vmguest/vbox/dri
@$(call add,THE_PACKAGES,virtualbox-guest-additions)
# see also use/install2/vmware
use/vmguest/vmware:
use/vmguest/vmware: use/vmguest
@$(call add,THE_PACKAGES,open-vm-tools)
use/vmguest/vmware/x11: use/vmguest/vmware
@$(call add,THE_PACKAGES,xorg-dri-vmwgfx xorg-drv-vmware xorg-drv-vmmouse)
use/vmguest/vmware/dri: use/vmguest
@$(call add,THE_PACKAGES,xorg-dri-vmwgfx)
use/vmguest/vmware/x11: use/vmguest/vmware use/vmguest/vmware/dri
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,open-vm-tools-desktop)
else
use/vmguest/vbox use/vmguest/vbox/x11 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment