49 Commits

Author SHA1 Message Date
Anton Midyukov
05aa1a8a4c vmguest: fix availability use/vmguest/vbox use/vmguest/vmware for non-x86
use/vmguest/vbox% not equal use/vmguest/vbox
% - not empty string.
Report-by: Dmitry Terekhin (jqt4)
2023-12-13 00:50:14 +07:00
Anton Midyukov
5118f53ea8 vmguest: simplify the code 2023-12-09 21:48:17 +07:00
43bf46ae4f vmguest: install vm related drivers/software on LoongArch 2023-12-09 21:14:51 +07:00
55a3d89a41 vmguest: unbreak on non-x86 architectures
$ make regular-xfce.iso
[skipped the noise]
17:30:40 preparing distro config: build/distcfg.mk
make[1]: *** No rule to make target 'use/vmguest/vbox/dri', needed by 'use/vmguest/dri'.  Stop.
make: *** [Makefile:60: regular-xfce.iso] Error 1

Define dummy use/vmguest/vbox/dri use/vmguest/vmware/dri targets
for non-x86 architecures to avoid the problem.
2023-12-09 21:14:37 +07:00
Anton Midyukov
155bf8a4c1 vmguest: create dri subtargets from x11
This is useful for images with wayland only.
2023-12-07 01:55:19 +07:00
Anton Midyukov
be1eee5311 vmguest: remove non-existent kernel-modules-* 2023-12-07 01:55:19 +07:00
Anton Midyukov
0d5896b586 vmguest: add xorg-dri-vmwgfx to use/vmguest/vbox/x11
virtualbox use vmsvga video adapter by default.
2023-12-07 01:55:19 +07:00
Anton Midyukov
5b5fcd0c72 vmguest: cleanup workaround for build on p9 2023-12-07 01:55:19 +07:00
Anton Midyukov
363ba22a2e Include README of features to documentation; fix syntax & links in them 2023-03-18 21:57:39 +07:00
Ivan A. Melnikov
ccfda72921 use/vmguest: Add qemu-guest-agnet for riscv64
qemu-guest-agnet is now available in sisyphus_riscv64.
2022-12-02 18:36:18 +04:00
Anton Midyukov
a99c606776 vmguest: exclude xorg-dri-virtio for armh
xorg-dri-virtio not available for p10 armh.
2022-03-02 19:54:52 +07:00
Anton Midyukov
d96062b9a0 vmguest: update stage1 modules list 2022-03-02 11:04:45 +07:00
Anton Midyukov
58c4156b2f vmguest: fix stage1/modules.d/50-vmguest
The list must not contain empty lines.
Otherwise, all modules are added to the initrd.
Fix commit 3e7b5828e62b5994520f3a5577d50d21cad811bd
2022-02-13 21:16:01 +07:00
Anton Midyukov
3e7b5828e6 vmguest: update vmguest modules list for support Hyper-v gen2 2021-12-29 23:06:19 +07:00
Anton Midyukov
3336b6e07d vmguest: add qemu support for riscv64, without qemu-agent 2021-12-28 16:07:43 +07:00
86d304e103 install2, vmguest: add xorg-dri-vmwgfx to vmware drivers 2021-12-19 17:27:41 +07:00
Anton Midyukov
63df7d7f84 vmguest: fix build with use/vmguest/kvm/x11 for BRANCH=p9 2021-09-08 13:00:07 +07:00
Anton Midyukov
628cf987dc vmguest: remove useless REGEXP for xorg-dri-virtio
xorg-dri-virtio was added via REGEXP to work around the package
missing issue on p9. But it didn't work.
2021-09-04 21:52:15 +07:00
Anton Midyukov
429b940191 vmguest: add xorg-drv-spiceqxl, xorg-dri-virtio to kvm/x11
xorg-dri-virtio is a separate package in Mesa 21.1.
But in p9 Mesa 21.0, so the package is added to regexp.
2021-07-20 22:12:47 +07:00
Anton Midyukov
0e1338a8ac vmguest: Drop virtualbox-addition kernel modules
Already in the mainline linux kernel >= 5.10.
2021-04-12 23:13:57 +07:00
Anton Midyukov
cb31cc4ebd vmguest: Fix and simplified for all architectures 2020-10-26 16:54:21 +07:00
Michael Shigorin
fb0273d6cd vmguest: more dummies for non-kvm cases
There are a few more targets used for Workstation
and Simply images that are rather better plugged
here than patched there.
2020-08-31 14:24:47 +03:00
Michael Shigorin
25e82a2ca2 vmguest: cosmetic fix
(still preferring 80-char wide xterm for proofreading)
2020-08-31 14:23:44 +03:00
Anton V. Boyarshinov
4cf9c554ca define vmguest/base for non-intel platforms 2020-05-22 20:06:52 +03:00
Anton Midyukov
0b02591530 vmguest: add kernel-modules-virtualbox-addition-guest 2020-01-13 12:12:34 +03:00
Gleb Fotengauer-Malinovskiy
5f8c1c0d01 vmguest: always provide vmguest/base and vmguest/complete features 2019-08-19 23:30:05 +03:00
Gleb Fotengauer-Malinovskiy
f02d3f7d0f vmguest: add kvm/x11 for all arches supported by qemu 2019-08-19 23:29:38 +03:00
Michael Shigorin
1a7f74677b vmguest: factor out use/vmguest/vmware
It's actually sisyphus jeos image that needed this:
open-vm-tools got installed and then removed just
before the final reboot (unlike p8 jeos); not clear
what exactly caused this as subsequent installation
only pulled in libdnet and libicu56, neither of which
were excplicitly removed during cleanup.

Let's make the image a bit leaner until someone asks
for VMware support there.
2019-07-03 09:19:06 +03:00
Anton Midyukov
dfbfcf56a4 vmguest: add qemu-guest-agent support for aarch64 and armh 2019-06-04 17:37:52 +03:00
Michael Shigorin
98601e13f7 vmguest: make arch-aware
+vmguest should work everywhere it can at all either;
it's most advanced on x86_64 in terms of hypervisors
available; still aarch64 has kvm too.
2018-07-20 15:51:01 +03:00
e0dfa733e6 install open-vm-tools-desktop for use/vmguest/vmware/x11 2017-10-31 13:23:49 +03:00
a9b1f05501 add use/vmguest/kvm/x11 2017-10-31 13:13:09 +03:00
792e70e237 - add open-vm-tools to use/vmguest/vmware 2017-09-08 18:41:28 +03:00
Michael Shigorin
d2253de7ab vmguest: add vmware support to "complete" target
'twas somewhat incomplete otherwise,
and these two packages are pretty tiny.

Note that +vmguest is affected too.
2016-08-15 14:09:06 +03:00
Michael Shigorin
a0355f8f7d install2, vmguest: add vmmouse too
xorg-drv-vmmouse should accompany xorg-drv-vmware.

Reported-by: Anton Farygin <rider@altlinux.com>
2016-08-15 14:08:59 +03:00
Michael Shigorin
f8d1773eaa vmguest: no-op on non-x86 for now
This might be an overreaction but let's handle
non-x86 virtualization on per-case basis.

Thanks sbolshakov@ for the notice.
2016-07-28 15:55:10 +03:00
Michael Shigorin
c7da08282b vmguest: learn to disable useless services under VMs
This has long been a TODO item but an elegant solution
just didn't come until the night before starterkits...
some services (mostly those operating on real hardware)
do not fit virtual environments at all, won't even start.
2016-03-11 23:49:01 +03:00
43b8835922 add qemu-guest-agent to vmguest kvm 2016-03-02 07:28:21 +03:00
Michael Shigorin
559f80adf3 a few modules.d test drives
These are aimed to test the modules.d/ and auto-pickup
implementation as well as to present an example.

At least 50-net might change (or just get renamed to avoid
auto-pickup) some day as the "net" feature's meaning is
to provide networking upon bootup and these modules are
only needed within stage1 if we're going to netboot;
and that's quite different thing.

armh-cubox bits are prone to get renamed/generalized too
since e.g. ArmadaXP based server images are going to need
this as well.
2015-04-20 13:35:28 +03:00
Michael Shigorin
8cbb7146ea vmguest: fixup vbox targets
use/vmguest/vbox/base used to pull in DRM modules
which are required for vboxvideo but useless without
xorg bits; and all of these aren't needed in jeos.

Things might break, doublecheck please.
2015-03-02 20:07:22 +03:00
Michael Shigorin
5c4f116b3a vmguest: handle vmware x11 driver
xorg-drv-vmware is desirable for guests with X11
but undesirable for text-only ones; let's provide
this knob at least but ideal m-p would figure out
that an image with use/x11 and use/vmguest/vmware
should receive this intersection either.
2014-09-19 20:52:18 +04:00
Michael Shigorin
600febca30 vmguest, install2: add vmware modules
led-ws kernel flavour has gained kernel-modules-vmware
recently, let's add this to the appropriate targets.

It's used in regular-jeos already but THE_ part was missing.
2014-05-13 00:25:02 +04:00
Michael Shigorin
0276e25dd2 vmguest: add vmware support
Thanks ildar@ for #30024 and specifically mentioning
that mptspi.ko is missing in jeos flavour (using led-ws).
2014-05-05 23:50:29 +04:00
Michael Shigorin
8c580273c8 vmguest: s/virtualbox/vbox/ upon targets
So as to bring the name bits into harmony with use/install2 ones.
2014-05-05 23:50:29 +04:00
Michael Shigorin
f044f58775 install2, sound, vmguest: support led-ws modules
led@ has different kernel-modules-* package set,
some of those "standard" names are provided but
vbox* is not the case.

As our macros and helpers will grok this just fine,
let's add both variants so what's present gets in.
2013-12-25 02:21:00 +02:00
Michael Shigorin
b1ce5a80ee Revert "vmguest: apply vboxdrv related workaround"
This reverts commit ae441691390edbd17a6bb95109f5f87e696ead19
as libglx has been fixed already; see #27340 and #28782 for
the details, huge thanks go to Alexey Borisenkov for his
thorough investigation and patches as well as to shrek@
and sin@ for their cooperation to get this fixed in Sisyphus.
2013-05-08 03:14:49 +03:00
Michael Shigorin
ae44169139 vmguest: apply vboxdrv related workaround
This is to cope with #28782 while the culprit is being found out;
not much of a loss while #27340 is open (thus no 3D with vboxdrv
anyways).

I chose to avoid pulling the service related machinery into
vmguest (and haven't got around to factoring it out from live
feature's scripts into a standalone form) so had to tweak these
as well.
2013-04-22 22:34:52 +04:00
Michael Shigorin
e03f103169 vmguest: fix targets
Thanks make(1) for the warning, `vmguest' target was
getting pulled in twice indeed.
2013-03-06 01:20:37 +02:00
Michael Shigorin
11d4f4062e vm feature renamed to vmguest
The "vm" name became a bit confusing with the introduction
of build-vm feature; let's call this one "vmguest" until we do
hierarchical (sub)features.
2012-06-25 19:29:38 +03:00