CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1924 - QEMU on headless machine

Attached to Project: CRUX
Opened by Alexander Matviychuk (alexmat) - Saturday, 22 October 2022, 05:37 GMT
Last edited by Alexander Matviychuk (alexmat) - Saturday, 26 November 2022, 08:01 GMT
Task Type Improvement
Category ports
Status New
Assigned To Juergen Daubert (jue)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.7
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I run qemu on a headless host that doesn't have the xorg repo. With some minor package tweaks qemu builds and runs well. Some of these might be worth considering:

1) xorg-libpixman doesn't need any xorg deps. I suggest moving it to opt, unless there's a reason it needs to be in the xorg repo. Right now I just fetch a copy of the port to avoid syncing the whole xorg repo.

2) Building libxkbcommon requires: -D enable-x11=false. There's actually already a check for wayland, I suggest adding a similar one for xorg-server, which would be helpful anyway for people migrating to a pure wayland setup in the future.

This is what I add: prt-get isinst xorg-server || PKGMK_XKBCOMMON+=' -D enable-x11=false'

3) The qemu package requires a dependency on libxml2. It was probably omited since it gets pulled in from it's current dependency on something from xorg.

4) In order to make it headless I also add: --disable-sdl --disable-opengl. I'm not sure how to make that flexible. Maybe have a qemu-headless package?

None of these issues are a big deal, but I think 1 2 and 3 have no downsides and are easy changes.
This task depends upon

Loading...