2018-07-20 15:51:01 +03:00
# various VM guest modules/tools
2019-07-09 14:35:12 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64 aarch 64 armh ppc 64le ,$ ( ARCH ) ) )
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
2018-07-20 15:51:01 +03:00
# NB: only reasonable for X11-bearing images
# see also use/install2/kvm
use/vmguest/kvm : use /vmguest
@$( call add,THE_PACKAGES,qemu-guest-agent)
2019-07-09 14:35:12 +03:00
use/vmguest/kvm/x11 : use /vmguest /kvm
@$( call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
2018-07-20 15:51:01 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2018-06-12 23:13:43 +03:00
use/vmguest/bare : use /vmguest /vbox use /vmguest /kvm ; @:
use/vmguest/base : use /vmguest /bare use /vmguest /vmware ; @:
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)
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
2019-05-21 20:23:11 +03:00
e l s e
# non-x86
2019-07-09 14:35:30 +03:00
use/vmguest/bare : use /vmguest /kvm ; @:
use/vmguest/base : use /vmguest /bare ; @:
use/vmguest/complete : use /vmguest /base use /vmguest /kvm /x 11; @:
2019-05-21 20:23:11 +03:00
e n d i f
2016-07-28 15:37:30 +03:00
e l s e
2018-07-20 15:51:01 +03:00
# kvm-unsupported guest arch
2019-07-09 14:35:30 +03:00
use/vmguest/bare : ; @:
use/vmguest/base : ; @:
use/vmguest/complete : ; @:
2016-07-28 15:37:30 +03:00
e n d i f
2019-07-09 14:35:30 +03:00
+vmguest : use /vmguest /complete ; @: