2016-07-28 15:37:30 +03:00
# x86: various VM guest modules/tools
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2014-05-11 22:45:54 +04:00
+vmguest : use /vmguest /complete ; @:
2012-04-10 21:56:01 +04:00
2013-03-02 21:55:06 +04:00
use/vmguest :
2012-04-10 21:56:01 +04:00
@$( call add_feature)
2013-03-02 21:55:06 +04:00
2017-10-23 13:43:40 +03:00
use/vmguest/base : use /vmguest /vbox use /vmguest /vmware use /vmguest /kvm ; @:
2016-08-15 14:06:52 +03:00
use/vmguest/complete : use /vmguest /base \
2017-10-23 13:43:40 +03:00
use/vmguest/vbox/x11 use/vmguest/vmware/x11 use/vmguest/kvm/x11; @:
2014-05-11 22:45:54 +04:00
2015-03-02 20:07:22 +03:00
use/vmguest/vbox : use /vmguest
@$( call add,THE_KMODULES,virtualbox-addition vboxguest)
2014-05-11 22:45:54 +04:00
2015-03-02 20:07:22 +03:00
use/vmguest/vbox/x11 : use /vmguest /vbox
@$( call add,THE_KMODULES,drm)
2012-04-10 21:56:01 +04:00
@$( call add,THE_PACKAGES,virtualbox-guest-additions)
# NB: only reasonable for X11-bearing images
2014-04-29 20:17:06 +04:00
# see also use/install2/kvm
2013-03-02 21:55:06 +04:00
use/vmguest/kvm : use /vmguest
2017-10-23 13:43:40 +03:00
@$( call add,THE_PACKAGES,qemu-guest-agent)
use/vmguest/kvm/x11 : use /vmguest /kvm
@$( call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
2012-04-10 21:56:01 +04:00
2014-04-29 20:17:06 +04:00
# see also use/install2/vmware
use/vmguest/vmware :
2014-05-11 22:45:54 +04:00
@$( call add,THE_KMODULES,vmware)
2014-04-29 20:17:06 +04:00
@$( call add,THE_KMODULES,scsi) # mptspi.ko
2017-08-18 11:34:37 +03:00
@$( call add,THE_PACKAGES,open-vm-tools)
2014-09-16 16:23:39 +04:00
use/vmguest/vmware/x11 : use /vmguest /vmware
2017-10-23 13:48:23 +03:00
@$( call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse open-vm-tools-desktop)
2016-07-28 15:37:30 +03:00
e l s e
+vmguest : ;@:
e n d i f